Program: gdcm
Module: $RCSfile: gdcmDicomDirMeta.h,v $
Language: C++
- Date: $Date: 2004/09/23 10:47:10 $
- Version: $Revision: 1.7 $
+ Date: $Date: 2005/02/01 13:11:49 $
+ Version: $Revision: 1.18 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
- http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+ http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
#include "gdcmDicomDirObject.h"
+namespace gdcm
+{
+
//-----------------------------------------------------------------------------
-class GDCM_EXPORT gdcmDicomDirMeta : public gdcmDicomDirObject
+/**
+ * \brief Meta Elements (group 0002) of a DicomDir
+ */
+class GDCM_EXPORT DicomDirMeta : public DicomDirObject
{
public:
- gdcmDicomDirMeta(TagDocEntryHT *ptagHT);
+ DicomDirMeta(bool empty=false);
+ ~DicomDirMeta();
- ~gdcmDicomDirMeta();
-
- virtual void Print(std::ostream &os = std::cout);
- virtual void Write(FILE * fp, FileType t);
+ virtual void Print(std::ostream &os = std::cout, std::string const &indent = "" );
+ virtual void WriteContent(std::ofstream *fp, FileType t);
};
-
+} // end namespace gdcm
//-----------------------------------------------------------------------------
#endif