Program: gdcm
Module: $RCSfile: gdcmDicomDirMeta.h,v $
Language: C++
- Date: $Date: 2004/10/22 03:05:41 $
- Version: $Revision: 1.10 $
+ 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
#define GDCMDICOMDIRMETA_H
#include "gdcmDicomDirObject.h"
+
namespace gdcm
{
//-----------------------------------------------------------------------------
+/**
+ * \brief Meta Elements (group 0002) of a DicomDir
+ */
class GDCM_EXPORT DicomDirMeta : public DicomDirObject
{
+ gdcmTypeMacro(DicomDirMeta);
+
public:
- DicomDirMeta(TagDocEntryHT *ptagHT);
+ 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();
-
- virtual void Print(std::ostream &os = std::cout);
- virtual void Write(std::ofstream * fp, FileType t);
};
} // end namespace gdcm
//-----------------------------------------------------------------------------