]> Creatis software - gdcm.git/blobdiff - src/gdcmDicomDirImage.h
* Remove memory leaks
[gdcm.git] / src / gdcmDicomDirImage.h
index b2a496ec472d0c2c880902c86ca0141efb2b5a32..2fc5738c847a7092386249e141b8b375a6f8109e 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirImage.h,v $
   Language:  C++
-  Date:      $Date: 2004/09/27 08:39:06 $
-  Version:   $Revision: 1.9 $
+  Date:      $Date: 2005/02/01 13:11:49 $
+  Version:   $Revision: 1.16 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
 
 #include "gdcmDicomDirObject.h"
 
+namespace gdcm 
+{
 //-----------------------------------------------------------------------------
-class GDCM_EXPORT gdcmDicomDirImage : public gdcmDicomDirObject
+/**
+ * \brief   describes an IMAGE within a SERIE
+ * (DicomDirSerie) of a given DICOMDIR (DicomDir)
+ */
+ class GDCM_EXPORT DicomDirImage : public DicomDirObject
 {
 public:
-   gdcmDicomDirImage(gdcmSQItem *s, TagDocEntryHT *ptagHT); 
-   gdcmDicomDirImage(TagDocEntryHT *ptagHT); 
-
-   ~gdcmDicomDirImage();
+   DicomDirImage(bool empty=false); 
+   ~DicomDirImage();
 
-   virtual void Print(std::ostream &os = std::cout);
+   void Print(std::ostream &os = std::cout, std::string const &indent = "" );
 };
-
+} // end namespace gdcm
 //-----------------------------------------------------------------------------
 #endif