X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirMeta.h;h=b8015d1ce5919c8eeb060dfa20b55ad37312f675;hb=c64b728232bfd4b8455a578f9efb50bd61f88c87;hp=9e530882462f140c4642b2fecb328cce63e43115;hpb=e8caac199c2683cb0f118c42c61dc6aec85b1eec;p=gdcm.git diff --git a/src/gdcmDicomDirMeta.h b/src/gdcmDicomDirMeta.h index 9e530882..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/16 04:50:41 $ - Version: $Revision: 1.16 $ + 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, std::string const & indent = "" ); + 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 //-----------------------------------------------------------------------------