X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirImage.h;h=8f04b09fa586ba20f9bf6fd0ab5ec82eeb2f2e12;hb=1f9855840e616065eb9ef1b99f69680541b68aad;hp=b912c3ad8ab685b8b6526b7c00cac9b6c00c961b;hpb=ab0aa4fa11e3ac7ec236d1aceb6f0cf89fe83eae;p=gdcm.git diff --git a/src/gdcmDicomDirImage.h b/src/gdcmDicomDirImage.h index b912c3ad..8f04b09f 100644 --- a/src/gdcmDicomDirImage.h +++ b/src/gdcmDicomDirImage.h @@ -3,12 +3,12 @@ Program: gdcm Module: $RCSfile: gdcmDicomDirImage.h,v $ Language: C++ - Date: $Date: 2004/09/23 10:47:10 $ - Version: $Revision: 1.8 $ + 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 - http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details. + http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR @@ -21,17 +21,27 @@ #include "gdcmDicomDirObject.h" +namespace gdcm +{ //----------------------------------------------------------------------------- -class GDCM_EXPORT gdcmDicomDirImage : public gdcmDicomDirObject +/** + * \brief describes an IMAGE within a SERIE + * (DicomDirSerie) of a given DICOMDIR (DicomDir) + */ + class GDCM_EXPORT DicomDirImage : public DicomDirObject { + gdcmTypeMacro(DicomDirImage); + public: - gdcmDicomDirImage(gdcmSQItem *s, TagDocEntryHT *ptagHT); - gdcmDicomDirImage(TagDocEntryHT *ptagHT); +/// \brief Constructs a DicomDirImage with a RefCounter + static DicomDirImage *New(bool empty=false) {return new DicomDirImage(empty);} - ~gdcmDicomDirImage(); + void Print(std::ostream &os = std::cout, std::string const &indent = "" ); - virtual void Print(std::ostream &os = std::cout); +protected: + DicomDirImage(bool empty=false); + ~DicomDirImage(); }; - +} // end namespace gdcm //----------------------------------------------------------------------------- #endif