]> Creatis software - gdcm.git/blobdiff - src/gdcmDicomDirImage.h
Doxygenation
[gdcm.git] / src / gdcmDicomDirImage.h
index cb5026dfea303ec0c24172f0a826be688c625b97..8f04b09fa586ba20f9bf6fd0ab5ec82eeb2f2e12 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirImage.h,v $
   Language:  C++
-  Date:      $Date: 2005/01/16 04:50:41 $
-  Version:   $Revision: 1.14 $
+  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
@@ -25,17 +25,22 @@ 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();
+/// \brief Constructs a DicomDirImage with a RefCounter
+   static DicomDirImage *New(bool empty=false) {return new DicomDirImage(empty);}
 
-   void Print(std::ostream &os = std::cout, std::string const & indent = "" );
+   void Print(std::ostream &os = std::cout, std::string const &indent = "" );
+
+protected:
+   DicomDirImage(bool empty=false); 
+   ~DicomDirImage();
 };
 } // end namespace gdcm
 //-----------------------------------------------------------------------------