]> Creatis software - gdcm.git/blobdiff - src/gdcmDicomDirImage.h
ENH: On unix system path are case sensitive, using GDCM broke backward compatibility...
[gdcm.git] / src / gdcmDicomDirImage.h
index a1e101f526650d142a1025e1ec34f7a1dcf6b362..8f04b09fa586ba20f9bf6fd0ab5ec82eeb2f2e12 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirImage.h,v $
   Language:  C++
-  Date:      $Date: 2004/10/25 03:35:19 $
-  Version:   $Revision: 1.11 $
+  Date:      $Date: 2005/11/21 09:46:25 $
+  Version:   $Revision: 1.18 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
 namespace gdcm 
 {
 //-----------------------------------------------------------------------------
-class GDCM_EXPORT DicomDirImage : public DicomDirObject
+/**
+ * \brief   describes an IMAGE within a SERIE
+ * (DicomDirSerie) of a given DICOMDIR (DicomDir)
+ */
+ class GDCM_EXPORT DicomDirImage : public DicomDirObject
 {
+   gdcmTypeMacro(DicomDirImage);
+
 public:
-   DicomDirImage(SQItem *s, TagDocEntryHT *ptagHT); 
-   DicomDirImage(TagDocEntryHT *ptagHT); 
+/// \brief Constructs a DicomDirImage with a RefCounter
+   static DicomDirImage *New(bool empty=false) {return new DicomDirImage(empty);}
 
-   ~DicomDirImage();
+   void Print(std::ostream &os = std::cout, std::string const &indent = "" );
 
-   void Print(std::ostream &os = std::cout);
+protected:
+   DicomDirImage(bool empty=false); 
+   ~DicomDirImage();
 };
 } // end namespace gdcm
 //-----------------------------------------------------------------------------