]> Creatis software - gdcm.git/blob - src/gdcmPatient.h
doxygenation
[gdcm.git] / src / gdcmPatient.h
1 // gdcmPatient.h
2 //-----------------------------------------------------------------------------
3 #ifndef GDCMPATIENT_H
4 #define GDCMPATIENT_H
5
6 #include "gdcmObject.h"
7 #include "gdcmStudy.h"
8
9 //-----------------------------------------------------------------------------
10 typedef std::list<gdcmStudy *> ListStudy;
11
12 //-----------------------------------------------------------------------------
13 class GDCM_EXPORT gdcmPatient : public gdcmObject 
14 {
15 public:
16    gdcmPatient(ListTag::iterator begin,ListTag::iterator end);
17    ~gdcmPatient(void);
18
19    virtual void Print(std::ostream &os = std::cout);
20
21    inline ListStudy &GetStudies() {return studies;};
22    inline void AddStudy(gdcmStudy *obj) {studies.push_back(obj);};
23        
24 private:
25    ListStudy studies;
26 };
27
28 //-----------------------------------------------------------------------------
29 #endif