X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirMeta.h;h=b8015d1ce5919c8eeb060dfa20b55ad37312f675;hb=a716f958bd2a6105ac06997fa9509ebaad6fc285;hp=ddeca2534c18372011e97033a96170caa6000609;hpb=73235b749dd3cb7e3552e81f9398b17b9209efa4;p=gdcm.git diff --git a/src/gdcmDicomDirMeta.h b/src/gdcmDicomDirMeta.h index ddeca253..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/02/01 13:11:49 $ - Version: $Revision: 1.18 $ + 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 @@ -30,12 +30,18 @@ namespace gdcm */ class GDCM_EXPORT DicomDirMeta : public DicomDirObject { + gdcmTypeMacro(DicomDirMeta); + public: - DicomDirMeta(bool empty=false); - ~DicomDirMeta(); + static DicomDirMeta *New(bool empty=false) {return new DicomDirMeta(empty);} 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 //-----------------------------------------------------------------------------