// gdcmDicomDirElement.h //----------------------------------------------------------------------------- #ifndef GDCMDICOMDIRELEMENT_H #define GDCMDICOMDIRELEMENT_H #include "gdcmCommon.h" #include //----------------------------------------------------------------------------- typedef struct { unsigned short int group; unsigned short int elem; std::string value; } gdcmElement; typedef std::list ListMetaElem; typedef std::list ListPatientElem; typedef std::list ListStudyElem; typedef std::list ListSerieElem; typedef std::list ListImageElem; //----------------------------------------------------------------------------- /* * \defgroup gdcmDicomDirElement * \brief gdcmDicomDirElement represents elements contained in a dicom dir * */ class GDCM_EXPORT gdcmDicomDirElement { public: gdcmDicomDirElement(void); ~gdcmDicomDirElement(void); void Print(std::ostream &os); ListMetaElem &GetMetaElements(void) {return(MetaList);}; ListPatientElem &GetPatientElements(void) {return(PatientList);}; ListStudyElem &GetStudyElements(void) {return(StudyList);}; ListSerieElem &GetSerieElements(void) {return(SerieList);}; ListImageElem &GetImageElements(void) {return(ImageList);}; private: ListMetaElem MetaList; ListPatientElem PatientList; ListStudyElem StudyList; ListSerieElem SerieList; ListImageElem ImageList; }; //----------------------------------------------------------------------------- #endif