Program: gdcm
Module: $RCSfile: gdcmDicomDirMeta.h,v $
Language: C++
- Date: $Date: 2005/10/25 14:52:33 $
- Version: $Revision: 1.19 $
+ Date: $Date: 2007/08/22 16:14:03 $
+ Version: $Revision: 1.24 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
=========================================================================*/
-#ifndef GDCMDICOMDIRMETA_H
-#define GDCMDICOMDIRMETA_H
+#ifndef _GDCMDICOMDIRMETA_H_
+#define _GDCMDICOMDIRMETA_H_
#include "gdcmDicomDirObject.h"
-namespace gdcm
+namespace GDCM_NAME_SPACE
{
//-----------------------------------------------------------------------------
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);
+ int ComputeGroup0002Length( );
+
protected:
DicomDirMeta(bool empty=false);
~DicomDirMeta();