Program: gdcm
Module: $RCSfile: gdcmDicomDirMeta.h,v $
Language: C++
- Date: $Date: 2004/12/03 20:16:57 $
- Version: $Revision: 1.13 $
+ Date: $Date: 2005/10/25 14:52:33 $
+ Version: $Revision: 1.19 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
{
//-----------------------------------------------------------------------------
+/**
+ * \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);
- virtual void WriteContent(std::ofstream * fp, FileType t);
+ virtual void Print(std::ostream &os = std::cout, std::string const &indent = "" );
+ virtual void WriteContent(std::ofstream *fp, FileType t);
+
+protected:
+ DicomDirMeta(bool empty=false);
+ ~DicomDirMeta();
};
} // end namespace gdcm
//-----------------------------------------------------------------------------