1 /*=========================================================================
4 Module: $RCSfile: gdcmDicomDirMeta.cxx,v $
6 Date: $Date: 2004/09/23 10:47:10 $
7 Version: $Revision: 1.9 $
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.htm 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 #include "gdcmDicomDirMeta.h"
20 #include "gdcmDocument.h"
22 //-----------------------------------------------------------------------------
23 // Constructor / Destructor
29 gdcmDicomDirMeta::gdcmDicomDirMeta(TagDocEntryHT *ptagHT):
30 gdcmDicomDirObject(ptagHT)
36 * \ingroup gdcmDicomDirMeta
37 * \brief Canonical destructor.
39 gdcmDicomDirMeta::~gdcmDicomDirMeta()
44 //-----------------------------------------------------------------------------
47 * \brief Prints the Meta Elements
49 void gdcmDicomDirMeta::Print(std::ostream &os)
51 os << "META" << std::endl;
52 // warning : META doesn't behave exactly like a gdcmObjet
53 for (ListDocEntry::iterator i = docEntries.begin();
54 i != docEntries.end();
60 //-----------------------------------------------------------------------------
65 * \brief Writes the Meta Elements
68 void gdcmDicomDirMeta::Write(FILE *fp, FileType t)
70 for (ListDocEntry::iterator i = docEntries.begin();
71 i != docEntries.end();
76 //-----------------------------------------------------------------------------
79 //-----------------------------------------------------------------------------
82 //-----------------------------------------------------------------------------