X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirImage.h;h=32eb8aa27b4004face55627615cf6501e4933466;hb=353a842f7e6ab238dbd0c31a1c7e0d2b61617f58;hp=a212aeb2e8934a8edb65f075e326e379de04a38b;hpb=ad8f0eb6ea1ad66c443b3640cded8a355efa7b42;p=gdcm.git diff --git a/src/gdcmDicomDirImage.h b/src/gdcmDicomDirImage.h index a212aeb2..32eb8aa2 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/20 16:16:42 $ - Version: $Revision: 1.15 $ + Date: $Date: 2007/05/23 14:18:08 $ + Version: $Revision: 1.19 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -21,21 +21,26 @@ #include "gdcmDicomDirObject.h" -namespace gdcm +namespace GDCM_NAME_SPACE { //----------------------------------------------------------------------------- /** - * \ingroup DicomDirImage * \brief describes an IMAGE within a SERIE * (DicomDirSerie) of a given DICOMDIR (DicomDir) */ class GDCM_EXPORT DicomDirImage : public DicomDirObject { + gdcmTypeMacro(DicomDirImage); + public: +/// \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 = "" ); + +protected: DicomDirImage(bool empty=false); ~DicomDirImage(); - - void Print(std::ostream &os = std::cout, std::string const & indent = "" ); }; } // end namespace gdcm //-----------------------------------------------------------------------------