00001
00002
00003 #ifndef GDCMDICOMDIRELEMENT_H
00004 #define GDCMDICOMDIRELEMENT_H
00005
00006 #include "gdcmCommon.h"
00007
00008 #include <list>
00009
00010
00011 typedef struct
00012 {
00013 unsigned short int group;
00014 unsigned short int elem;
00015 std::string value;
00016 } gdcmElement;
00017
00018 typedef std::list<gdcmElement> ListMetaElem;
00019 typedef std::list<gdcmElement> ListPatientElem;
00020 typedef std::list<gdcmElement> ListStudyElem;
00021 typedef std::list<gdcmElement> ListSerieElem;
00022 typedef std::list<gdcmElement> ListImageElem;
00023
00024
00025
00026
00027
00028
00029
00030 class GDCM_EXPORT gdcmDicomDirElement
00031 {
00032 public:
00033 gdcmDicomDirElement(void);
00034 ~gdcmDicomDirElement(void);
00035
00036 void Print(std::ostream &os);
00037
00038 ListMetaElem &GetMetaElements(void) {return(MetaList);};
00039 ListPatientElem &GetPatientElements(void) {return(PatientList);};
00040 ListStudyElem &GetStudyElements(void) {return(StudyList);};
00041 ListSerieElem &GetSerieElements(void) {return(SerieList);};
00042 ListImageElem &GetImageElements(void) {return(ImageList);};
00043
00044 private:
00045 ListMetaElem MetaList;
00046 ListPatientElem PatientList;
00047 ListStudyElem StudyList;
00048 ListSerieElem SerieList;
00049 ListImageElem ImageList;
00050 };
00051
00052
00053 #endif