X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirMeta.h;h=df2f87ba02f1a71a19fb57447ea963bf774b61c6;hb=bd7bec4c367d671a9da358584e98a8ec29bb641e;hp=b8015d1ce5919c8eeb060dfa20b55ad37312f675;hpb=b9b27ba247780b6a7823170fa63579018dee5604;p=gdcm.git diff --git a/src/gdcmDicomDirMeta.h b/src/gdcmDicomDirMeta.h index b8015d1c..df2f87ba 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/11/03 14:29:23 $ - Version: $Revision: 1.20 $ + Date: $Date: 2007/08/29 15:30:48 $ + Version: $Revision: 1.25 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -16,12 +16,12 @@ =========================================================================*/ -#ifndef GDCMDICOMDIRMETA_H -#define GDCMDICOMDIRMETA_H +#ifndef _GDCMDICOMDIRMETA_H_ +#define _GDCMDICOMDIRMETA_H_ #include "gdcmDicomDirObject.h" -namespace gdcm +namespace GDCM_NAME_SPACE { //----------------------------------------------------------------------------- @@ -33,10 +33,11 @@ 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); + virtual void WriteContent(std::ofstream *fp, FileType t, bool insideMetaElements, bool insideSequence); int ComputeGroup0002Length( ); protected: