X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirImage.h;h=573cc64fee4b56622469dc11051355e576c32e7c;hb=b49637c801a8f76fb1f9ffe37e7eb420e330441c;hp=719c36842f62774298aa0d478fe1c893983e65c6;hpb=399e06b19e761cf5a296a4ac091d653bbf99abe1;p=gdcm.git diff --git a/src/gdcmDicomDirImage.h b/src/gdcmDicomDirImage.h index 719c3684..573cc64f 100644 --- a/src/gdcmDicomDirImage.h +++ b/src/gdcmDicomDirImage.h @@ -1,20 +1,46 @@ -// gdcmDicomDirImage.h -//----------------------------------------------------------------------------- +/*========================================================================= + + Program: gdcm + Module: $RCSfile: gdcmDicomDirImage.h,v $ + Language: C++ + 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.html for details. + + This software is distributed WITHOUT ANY WARRANTY; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the above copyright notices for more information. + +=========================================================================*/ + #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(ListTag::iterator begin,ListTag::iterator end, - TagHeaderEntryHT *ptagHT, ListTag *plistEntries); + static DicomDirImage *New(bool empty=false) {return new DicomDirImage(empty);} - ~gdcmDicomDirImage(void); + 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