]> Creatis software - gdcm.git/blob - src/gdcmDicomDirMeta.cxx
Allow to create ex nihilo DICOMDIR
[gdcm.git] / src / gdcmDicomDirMeta.cxx
1 // gdcmDicomDirMeta.h
2 //-----------------------------------------------------------------------------
3 #include "gdcmDicomDirMeta.h"
4
5 //-----------------------------------------------------------------------------
6 // Constructor / Destructor
7
8 /**
9  * \ingroup gdcmMeta
10  * \brief  Constructor
11  * @param  begin  iterator (inside the gdcmParser chained list)
12  *                on the first Header Entry (i.e Dicom Element)
13  *                related to the "META" part
14  * @param  end  iterator  (inside the gdcmParser chained list)
15  *              on the last Header Entry (i.e Dicom Element) 
16  *              related to the 'META' part
17  * @param ptagHT pointer to the HTable (gdcmObject needs it 
18  *               to build the gdcmHeaderEntries)
19  * @param plistEntries pointer to the chained List (gdcmObject needs it 
20  *               to build the gdcmHeaderEntries)
21  */ 
22 gdcmDicomDirMeta::gdcmDicomDirMeta(ListTag::iterator begin,
23                                    ListTag::iterator end,
24                                    TagHeaderEntryHT *ptagHT, 
25                                    ListTag *plistEntries):
26    gdcmObject(begin,end,ptagHT,plistEntries)
27 {
28 }
29
30 /**
31  * \ingroup gdcmDicomDirMeta
32  * \brief   Canonical destructor.
33  */
34 gdcmDicomDirMeta::~gdcmDicomDirMeta() 
35 {
36 }
37
38 //-----------------------------------------------------------------------------
39 // Print
40 /**
41  * \ingroup gdcmDicomDirMeta
42  * \brief   Prints the Object
43  * @return
44  */ 
45 void gdcmDicomDirMeta::Print(std::ostream &os)
46 {
47    os<<"META"<<std::endl;
48    gdcmObject::Print(os);
49 }
50
51 //-----------------------------------------------------------------------------
52 // Public
53
54 //-----------------------------------------------------------------------------
55 // Protected
56
57 //-----------------------------------------------------------------------------
58 // Private
59
60 //-----------------------------------------------------------------------------