00001
00002
00003 #ifndef GDCMPATIENT_H
00004 #define GDCMPATIENT_H
00005
00006 #include "gdcmObject.h"
00007 #include "gdcmStudy.h"
00008
00009
00010 typedef std::list<gdcmStudy *> ListStudy;
00011
00012
00013 class GDCM_EXPORT gdcmPatient : public gdcmObject
00014 {
00015 public:
00016 gdcmPatient(ListTag::iterator begin,ListTag::iterator end);
00017 ~gdcmPatient(void);
00018
00019 virtual void Print(std::ostream &os = std::cout);
00020
00021 inline ListStudy &GetStudies() {return studies;};
00022 inline void AddStudy(gdcmStudy *obj) {studies.push_back(obj);};
00023
00024 private:
00025 ListStudy studies;
00026 };
00027
00028
00029 #endif