]> Creatis software - gdcm.git/blobdiff - src/gdcmDicomDirMeta.h
* Remove memory leaks on the DicomDir
[gdcm.git] / src / gdcmDicomDirMeta.h
index fe3de1232c941292ff5c5057f329c62bca3c010b..9c50ee1607ef0d73bfc1aabe2f5f6e2a3c34f426 100644 (file)
@@ -3,12 +3,12 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirMeta.h,v $
   Language:  C++
-  Date:      $Date: 2004/08/01 02:39:09 $
-  Version:   $Revision: 1.5 $
+  Date:      $Date: 2004/12/03 17:13:18 $
+  Version:   $Revision: 1.12 $
                                                                                 
   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.htm for details.
+  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
 #ifndef GDCMDICOMDIRMETA_H
 #define GDCMDICOMDIRMETA_H
 
-#include "gdcmObject.h"
+#include "gdcmDicomDirObject.h"
+namespace gdcm 
+{
 
 //-----------------------------------------------------------------------------
-class GDCM_EXPORT gdcmDicomDirMeta : public gdcmObject 
+class GDCM_EXPORT DicomDirMeta : public DicomDirObject 
 {
 public:
-   gdcmDicomDirMeta(TagDocEntryHT *ptagHT); 
-
-   ~gdcmDicomDirMeta();
+   DicomDirMeta(); 
+   ~DicomDirMeta();
 
    virtual void Print(std::ostream &os = std::cout);
+   virtual void WriteContent(std::ofstream * fp, FileType t);
 };
-
+} // end namespace gdcm
 //-----------------------------------------------------------------------------
 #endif