X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirMeta.h;h=dc46710708ef25785b3e8e6ae700f087d961bc72;hb=7280ce0786e804fdd054debc3f6af18da169ded9;hp=96403f23c0ecb8c15ab61ce017bd8352a540ff93;hpb=6b51b22366f878e1050c75a6ebb755bd2ff365c7;p=gdcm.git diff --git a/src/gdcmDicomDirMeta.h b/src/gdcmDicomDirMeta.h index 96403f23..dc467107 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/10/25 14:52:33 $ - Version: $Revision: 1.19 $ + Date: $Date: 2007/05/23 14:18:08 $ + Version: $Revision: 1.22 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -21,7 +21,7 @@ #include "gdcmDicomDirObject.h" -namespace gdcm +namespace GDCM_NAME_SPACE { //----------------------------------------------------------------------------- @@ -33,11 +33,13 @@ class GDCM_EXPORT DicomDirMeta : public DicomDirObject gdcmTypeMacro(DicomDirMeta); public: +/// \brief Constructs a DicomDirMeta with a RefCounter 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();