1 // gdcmDicomDirPatient.h
2 //-----------------------------------------------------------------------------
6 #include "gdcmObject.h"
7 #include "gdcmDicomDirStudy.h"
8 #include "gdcmSQItem.h"
9 //-----------------------------------------------------------------------------
10 typedef std::list<gdcmDicomDirStudy *> ListDicomDirStudy;
12 //-----------------------------------------------------------------------------
13 class GDCM_EXPORT gdcmDicomDirPatient : public gdcmObject
16 gdcmDicomDirPatient(gdcmSQItem *s, TagDocEntryHT *ptagHT);
17 gdcmDicomDirPatient(TagDocEntryHT *ptagHT);
19 ~gdcmDicomDirPatient(void);
21 virtual void Print(std::ostream &os = std::cout);
23 * \ingroup gdcmDicomDirPatient
24 * \brief returns the STUDY chained List for this PATIENT.
26 inline ListDicomDirStudy &GetDicomDirStudies()
29 * \ingroup gdcmDicomDirPatient
30 * \brief adds the passed STUDY to the STUDY chained List for this PATIENT.
32 inline void AddDicomDirStudy(gdcmDicomDirStudy *obj)
33 {studies.push_back(obj);};
35 * \ingroup gdcmDicomDirPatient
38 gdcmDicomDirStudy* NewStudy(void);
43 * \brief chained list of DicomDirStudy
45 ListDicomDirStudy studies;
48 //-----------------------------------------------------------------------------