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);
41 * \brief canonical Printer
44 void Print(std::ostream &os);
48 * \ingroup gdcmDicomDirElement
49 * \brief returns a reference to the chained List
50 * related to the META Elements of a DICOMDIR.
52 ListDicomDirMetaElem &GetDicomDirMetaElements(void)
53 {return(DicomDirMetaList);};
55 * \ingroup gdcmDicomDirElement
56 * \brief returns a reference to the chained List
57 * related to the PATIENT Elements of a DICOMDIR.
59 ListDicomDirPatientElem &GetDicomDirPatientElements(void)
60 {return(DicomDirPatientList);};
62 * \ingroup gdcmDicomDirElement
63 * \brief returns a reference to the chained List
64 * related to the STUDY Elements of a DICOMDIR.
66 ListDicomDirStudyElem &GetDicomDirStudyElements(void)
67 {return(DicomDirStudyList);};
69 * \ingroup gdcmDicomDirElement
70 * \brief returns a reference to the chained List
71 * related to the SERIE Elements of a DICOMDIR.
73 ListDicomDirSerieElem &GetDicomDirSerieElements(void)
74 {return(DicomDirSerieList);};
76 * \ingroup gdcmDicomDirElement
77 * \brief returns a reference to the chained List
78 * related to the IMAGE Elements of a DICOMDIR.
80 ListDicomDirImageElem &GetDicomDirImageElements(void)
81 {return(DicomDirImageList);};
84 ListDicomDirMetaElem DicomDirMetaList;
85 ListDicomDirPatientElem DicomDirPatientList;
86 ListDicomDirStudyElem DicomDirStudyList;
87 ListDicomDirSerieElem DicomDirSerieList;
88 ListDicomDirImageElem DicomDirImageList;
91 //-----------------------------------------------------------------------------