1 // gdcmDicomDirPatient.h
2 //-----------------------------------------------------------------------------
6 #include "gdcmObject.h"
7 #include "gdcmDicomDirStudy.h"
9 //-----------------------------------------------------------------------------
10 typedef std::list<gdcmDicomDirStudy *> ListDicomDirStudy;
12 //-----------------------------------------------------------------------------
13 class GDCM_EXPORT gdcmDicomDirPatient : public gdcmObject
16 gdcmDicomDirPatient(ListTag::iterator begin,ListTag::iterator end,
17 TagHeaderEntryHT *ptagHT, ListTag *plistEntries);
18 ~gdcmDicomDirPatient(void);
20 virtual void Print(std::ostream &os = std::cout);
22 * \ingroup gdcmDicomDirPatient
23 * \brief returns the STUDY chained List for this PATIENT.
25 inline ListDicomDirStudy &GetDicomDirStudies()
28 * \ingroup gdcmDicomDirPatient
29 * \brief adds the passed STUDY to the STUDY chained List for this PATIENT.
31 inline void AddDicomDirStudy(gdcmDicomDirStudy *obj)
32 {studies.push_back(obj);};
34 * \ingroup gdcmDicomDirPatient
37 gdcmDicomDirStudy* NewStudy(void);
42 * \brief chained list of DicomDirStudy
44 ListDicomDirStudy studies;
47 //-----------------------------------------------------------------------------