]> Creatis software - gdcm.git/blobdiff - src/gdcmDicomDirObject.h
* Remove memory leaks on the DicomDir
[gdcm.git] / src / gdcmDicomDirObject.h
index 9695adaa254f74fd5964531738284abd0d1c6c0e..8503569b765c2edb27b4ee800f9f3d0472cce1d2 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirObject.h,v $
   Language:  C++
-  Date:      $Date: 2004/10/12 04:35:45 $
-  Version:   $Revision: 1.4 $
+  Date:      $Date: 2004/12/03 17:13:18 $
+  Version:   $Revision: 1.7 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -27,7 +27,6 @@
 
 namespace gdcm 
 {
-
 //-----------------------------------------------------------------------------
 class DicomDirObject;
 typedef std::list<DicomDirObject *> ListContent;
@@ -41,8 +40,9 @@ class GDCM_EXPORT DicomDirObject : public SQItem
 {
 public:
 
-   DicomDirObject(TagDocEntryHT *ptagHT, int depth = 0);
-   virtual ~DicomDirObject();
+   DicomDirObject(int depth = 1);
+   ~DicomDirObject();
+
    /**
     * \brief   Sets the print level for the Dicom Header 
     * \note    0 for Light Print; 1 for 'medium' Print, 2 for Heavy
@@ -50,7 +50,7 @@ public:
    void SetPrintLevel(int level) { PrintLevel = level; };
    
    TagDocEntryHT GetEntry();
-   void FillObject(std::list<Element> elemList);
+   void FillObject(ListDicomDirMetaElem const & elemList);
 
 protected: