X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirMeta.h;h=b8015d1ce5919c8eeb060dfa20b55ad37312f675;hb=3d5d93041db5d0e11cef63ea1ec069bb0e65b013;hp=334e52fb5c23ca44b7874c97219a61c2efb5f67d;hpb=ac0c6624e5206f25f5adc7deb53f937e00e6e264;p=gdcm.git diff --git a/src/gdcmDicomDirMeta.h b/src/gdcmDicomDirMeta.h index 334e52fb..b8015d1c 100644 --- a/src/gdcmDicomDirMeta.h +++ b/src/gdcmDicomDirMeta.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDicomDirMeta.h,v $ Language: C++ - Date: $Date: 2005/01/11 15:15:38 $ - Version: $Revision: 1.15 $ + Date: $Date: 2005/11/03 14:29:23 $ + Version: $Revision: 1.20 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -26,17 +26,22 @@ namespace gdcm //----------------------------------------------------------------------------- /** - * \ingroup DicomDirMeta * \brief Meta Elements (group 0002) of a DicomDir */ class GDCM_EXPORT DicomDirMeta : public DicomDirObject { + gdcmTypeMacro(DicomDirMeta); + public: - DicomDirMeta(); - ~DicomDirMeta(); + static DicomDirMeta *New(bool empty=false) {return new DicomDirMeta(empty);} - virtual void Print(std::ostream &os = std::cout); + virtual void Print(std::ostream &os = std::cout, std::string const &indent = "" ); virtual void WriteContent(std::ofstream *fp, FileType t); + int ComputeGroup0002Length( ); + +protected: + DicomDirMeta(bool empty=false); + ~DicomDirMeta(); }; } // end namespace gdcm //-----------------------------------------------------------------------------