]> Creatis software - gdcm.git/blobdiff - src/gdcmDicomDirMeta.h
ENH: remove three more sprintf, but this is really ugly now
[gdcm.git] / src / gdcmDicomDirMeta.h
index c343719326881ffbf2b82b8e4ef8938f452246cb..37111f3b322eb2c5cbca640c40880f6f961d7dbb 100644 (file)
@@ -1,20 +1,36 @@
-// gdcmDicomDirMeta.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmDicomDirMeta.h,v $
+  Language:  C++
+  Date:      $Date: 2004/09/27 08:39:06 $
+  Version:   $Revision: 1.8 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #ifndef GDCMDICOMDIRMETA_H
 #define GDCMDICOMDIRMETA_H
 
-#include "gdcmObject.h"
+#include "gdcmDicomDirObject.h"
 
 //-----------------------------------------------------------------------------
-class GDCM_EXPORT gdcmDicomDirMeta : public gdcmObject 
+class GDCM_EXPORT gdcmDicomDirMeta : public gdcmDicomDirObject 
 {
 public:
-   gdcmDicomDirMeta(ListTag::iterator begin,ListTag::iterator end,
-                    TagHeaderEntryHT *ptagHT, ListTag *plistEntries); 
+   gdcmDicomDirMeta(TagDocEntryHT *ptagHT); 
 
-   ~gdcmDicomDirMeta(void);
+   ~gdcmDicomDirMeta();
 
    virtual void Print(std::ostream &os = std::cout);
+   virtual void Write(FILE * fp, FileType t);
 };
 
 //-----------------------------------------------------------------------------