- gdcmDicomDirPatient(gdcmSQItem *s, TagDocEntryHT *ptagHT);
- gdcmDicomDirPatient(TagDocEntryHT *ptagHT);
-
- ~gdcmDicomDirPatient(void);
-
- virtual void Print(std::ostream &os = std::cout);
-/**
- * \ingroup gdcmDicomDirPatient
- * \brief returns the STUDY chained List for this PATIENT.
- */
- inline ListDicomDirStudy &GetDicomDirStudies()
- {return studies;};
-/**
- * \ingroup gdcmDicomDirPatient
- * \brief adds the passed STUDY to the STUDY chained List for this PATIENT.
- */
- inline void AddDicomDirStudy(gdcmDicomDirStudy *obj)
- {studies.push_back(obj);};
-/**
- * \ingroup gdcmDicomDirPatient
- * \brief TODO
- */
- gdcmDicomDirStudy* NewStudy(void);
+ DicomDirPatient(SQItem *s, TagDocEntryHT *ptagHT);
+ DicomDirPatient(TagDocEntryHT *ptagHT);
+
+ ~DicomDirPatient();
+
+ void Print(std::ostream &os = std::cout);
+ void Write(std::ofstream *fp, FileType t);
+
+ /// Returns the STUDY chained List for this PATIENT.
+ ListDicomDirStudy const & GetDicomDirStudies() const { return Studies; };
+
+ /// adds the passed STUDY to the STUDY chained List for this PATIENT.
+ void AddDicomDirStudy (DicomDirStudy *obj) { Studies.push_back(obj); };
+
+ /// TODO
+ DicomDirStudy* NewStudy();