1 // gdcmDicomDirImage.cxx
2 //-----------------------------------------------------------------------------
3 #include "gdcmDicomDirImage.h"
5 //-----------------------------------------------------------------------------
6 // Constructor / Destructor
9 * \ingroup gdcmDicomDirImage
11 * @param begin iterator (inside the gdcmParser chained list)
12 * on the first Header Entry (i.e Dicom Element)
13 * related to this "IMAGE" part
14 * @param end iterator (inside the gdcmParser chained list)
15 * on the last Header Entry (i.e Dicom Element)
16 * related to this 'IMAGE' 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)
22 gdcmDicomDirImage::gdcmDicomDirImage(ListTag::iterator begin,
23 ListTag::iterator end,
24 TagHeaderEntryHT *ptagHT,
25 ListTag *plistEntries):
26 gdcmObject(begin,end,ptagHT,plistEntries)
31 * \ingroup gdcmDicomDirImage
32 * \brief Canonical destructor.
34 gdcmDicomDirImage::~gdcmDicomDirImage()
38 //-----------------------------------------------------------------------------
41 * \ingroup gdcmDicomDirImage
42 * \brief Prints the Object
45 void gdcmDicomDirImage::Print(std::ostream &os)
48 for(ListTag::iterator i=beginObj;i!=endObj;++i)
50 if( ((*i)->GetGroup()==0x0004) && ((*i)->GetElement()==0x1500) )
55 gdcmObject::Print(os);
58 //-----------------------------------------------------------------------------
61 //-----------------------------------------------------------------------------
64 //-----------------------------------------------------------------------------
67 //-----------------------------------------------------------------------------