1 // gdcmDicomDirElement.h
2 //-----------------------------------------------------------------------------
3 #ifndef GDCMDICOMDIRELEMENT_H
4 #define GDCMDICOMDIRELEMENT_H
6 #include "gdcmCommon.h"
10 //-----------------------------------------------------------------------------
14 unsigned short int group;
15 /// DicomElement number
16 unsigned short int elem;
17 /// value (coded as a std::string) of the Element
21 typedef std::list<gdcmElement> ListDicomDirMetaElem;
22 typedef std::list<gdcmElement> ListDicomDirPatientElem;
23 typedef std::list<gdcmElement> ListDicomDirStudyElem;
24 typedef std::list<gdcmElement> ListDicomDirSerieElem;
25 typedef std::list<gdcmElement> ListDicomDirImageElem;
27 //-----------------------------------------------------------------------------
29 * \defgroup gdcmDicomDirElement
30 * \brief gdcmDicomDirElement represents elements contained in a dicom dir
33 class GDCM_EXPORT gdcmDicomDirElement
36 gdcmDicomDirElement(void);
37 ~gdcmDicomDirElement(void);
39 void Print(std::ostream &os);
43 * \ingroup gdcmDicomDirElement
44 * \brief returns a reference to the chained List
45 * related to the META Elements of a DICOMDIR.
47 ListDicomDirMetaElem &GetDicomDirMetaElements(void)
48 {return(DicomDirMetaList);};
50 * \ingroup gdcmDicomDirElement
51 * \brief returns a reference to the chained List
52 * related to the PATIENT Elements of a DICOMDIR.
54 ListDicomDirPatientElem &GetDicomDirPatientElements(void)
55 {return(DicomDirPatientList);};
57 * \ingroup gdcmDicomDirElement
58 * \brief returns a reference to the chained List
59 * related to the STUDY Elements of a DICOMDIR.
61 ListDicomDirStudyElem &GetDicomDirStudyElements(void)
62 {return(DicomDirStudyList);};
64 * \ingroup gdcmDicomDirElement
65 * \brief returns a reference to the chained List
66 * related to the SERIE Elements of a DICOMDIR.
68 ListDicomDirSerieElem &GetDicomDirSerieElements(void)
69 {return(DicomDirSerieList);};
71 * \ingroup gdcmDicomDirElement
72 * \brief returns a reference to the chained List
73 * related to the IMAGE Elements of a DICOMDIR.
75 ListDicomDirImageElem &GetDicomDirImageElements(void)
76 {return(DicomDirImageList);};
79 ListDicomDirMetaElem DicomDirMetaList;
80 ListDicomDirPatientElem DicomDirPatientList;
81 ListDicomDirStudyElem DicomDirStudyList;
82 ListDicomDirSerieElem DicomDirSerieList;
83 ListDicomDirImageElem DicomDirImageList;
86 //-----------------------------------------------------------------------------