]> 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 29204297b0a9fc9e7c6deaa2a1d6ad6d5052380d..573cc64fee4b56622469dc11051355e576c32e7c 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirImage.h,v $
   Language:  C++
-  Date:      $Date: 2005/01/11 15:15:38 $
-  Version:   $Revision: 1.13 $
+  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
@@ -25,17 +25,21 @@ namespace gdcm
 {
 //-----------------------------------------------------------------------------
 /**
- * \ingroup DicomDirImage
  * \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
 //-----------------------------------------------------------------------------