X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirImage.h;h=573cc64fee4b56622469dc11051355e576c32e7c;hb=31745b8deed4e159cda4f587d1dfd8024ae6b49b;hp=8365f40069f413a5160e5faf952fea5adef980b3;hpb=4b4569ba7d0829cf3782ff6b5bbe5ae1009466e6;p=gdcm.git diff --git a/src/gdcmDicomDirImage.h b/src/gdcmDicomDirImage.h index 8365f400..573cc64f 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/08/01 02:39:09 $ - Version: $Revision: 1.6 $ + 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 - 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 @@ -19,19 +19,28 @@ #ifndef GDCMDICOMIMAGE_H #define GDCMDICOMIMAGE_H -#include "gdcmObject.h" +#include "gdcmDicomDirObject.h" +namespace gdcm +{ //----------------------------------------------------------------------------- -class GDCM_EXPORT gdcmDicomDirImage : public gdcmObject +/** + * \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); + 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