1 /*=========================================================================
4 Module: $RCSfile: gdcmDicomDirMeta.h,v $
6 Date: $Date: 2005/11/03 14:29:23 $
7 Version: $Revision: 1.20 $
9 Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
10 l'Image). All rights reserved. See Doc/License.txt or
11 http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
13 This software is distributed WITHOUT ANY WARRANTY; without even
14 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 PURPOSE. See the above copyright notices for more information.
17 =========================================================================*/
19 #ifndef GDCMDICOMDIRMETA_H
20 #define GDCMDICOMDIRMETA_H
22 #include "gdcmDicomDirObject.h"
27 //-----------------------------------------------------------------------------
29 * \brief Meta Elements (group 0002) of a DicomDir
31 class GDCM_EXPORT DicomDirMeta : public DicomDirObject
33 gdcmTypeMacro(DicomDirMeta);
36 static DicomDirMeta *New(bool empty=false) {return new DicomDirMeta(empty);}
38 virtual void Print(std::ostream &os = std::cout, std::string const &indent = "" );
39 virtual void WriteContent(std::ofstream *fp, FileType t);
40 int ComputeGroup0002Length( );
43 DicomDirMeta(bool empty=false);
46 } // end namespace gdcm
47 //-----------------------------------------------------------------------------