X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirImage.h;h=8f04b09fa586ba20f9bf6fd0ab5ec82eeb2f2e12;hb=80dc5ecf0d3915f6c2a5505a540ff14957e07cc5;hp=29204297b0a9fc9e7c6deaa2a1d6ad6d5052380d;hpb=ac0c6624e5206f25f5adc7deb53f937e00e6e264;p=gdcm.git diff --git a/src/gdcmDicomDirImage.h b/src/gdcmDicomDirImage.h index 29204297..8f04b09f 100644 --- a/src/gdcmDicomDirImage.h +++ b/src/gdcmDicomDirImage.h @@ -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/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); + void Print(std::ostream &os = std::cout, std::string const &indent = "" ); + +protected: + DicomDirImage(bool empty=false); + ~DicomDirImage(); }; } // end namespace gdcm //-----------------------------------------------------------------------------