]> Creatis software - gdcm.git/blobdiff - src/gdcmDicomDirImage.h
Commenting out useless code should avoid pb on Big Endian processors.
[gdcm.git] / src / gdcmDicomDirImage.h
index 5731cd0ef874e5bbc7b2bf10ffc4f38935c00d95..573cc64fee4b56622469dc11051355e576c32e7c 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirImage.h,v $
   Language:  C++
-  Date:      $Date: 2004/12/03 17:13:18 $
-  Version:   $Revision: 1.12 $
+  Date:      $Date: 2005/10/25 14:52:33 $
+  Version:   $Revision: 1.17 $
                                                                                 
   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(); 
-   ~DicomDirImage();
+   static DicomDirImage *New(bool empty=false) {return new DicomDirImage(empty);}
 
-   void Print(std::ostream &os = std::cout);
+   void Print(std::ostream &os = std::cout, std::string const &indent = "" );
+
+protected:
+   DicomDirImage(bool empty=false); 
+   ~DicomDirImage();
 };
 } // end namespace gdcm
 //-----------------------------------------------------------------------------