X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirMeta.h;h=8fc668bad1943a8c91f30ba77c6ddea07a302479;hb=aabc92e9dcb866de68efd216d75ad197fe78aee9;hp=3274a9af65860fc72b32f082948eae7a9054bdc3;hpb=ad8f0eb6ea1ad66c443b3640cded8a355efa7b42;p=gdcm.git diff --git a/src/gdcmDicomDirMeta.h b/src/gdcmDicomDirMeta.h index 3274a9af..8fc668ba 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/20 16:16:42 $ - Version: $Revision: 1.17 $ + Date: $Date: 2005/11/21 09:46:25 $ + Version: $Revision: 1.21 $ 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,23 @@ namespace gdcm //----------------------------------------------------------------------------- /** - * \ingroup DicomDirMeta * \brief Meta Elements (group 0002) of a DicomDir */ class GDCM_EXPORT DicomDirMeta : public DicomDirObject { + gdcmTypeMacro(DicomDirMeta); + public: - DicomDirMeta(bool empty=false); - ~DicomDirMeta(); +/// \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 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 //-----------------------------------------------------------------------------