- void Print(std::ostream &os = std::cout);
- void Write(std::ofstream *fp, FileType t);
-
- /**
- * \ingroup DicomDirStudy
- * \brief returns the SERIE chained List for this STUDY.
- */
- ListDicomDirSerie const &GetDicomDirSeries() const { return Series; };
-
- /**
- * \ingroup DicomDirStudy
- * \brief adds the passed SERIE to the SERIE chained List for this STUDY.
- */
- void AddDicomDirSerie(DicomDirSerie *obj) { Series.push_back(obj); };
-
- /**
- * \ingroup DicomDirStudy
- * \brief TODO
- */
- DicomDirSerie* NewSerie();
+ void Print(std::ostream &os = std::cout, std::string const &indent = "" );
+ void WriteContent(std::ofstream *fp, FileType t);
+
+ // Serie methods
+ DicomDirSerie *NewSerie();
+ /// Adds a gdcm::DicomDirSerie to a Study
+ void AddSerie(DicomDirSerie *obj) { Series.push_back(obj); };
+ void ClearSerie();
+
+ DicomDirSerie *GetFirstSerie();
+ DicomDirSerie *GetNextSerie();
+ DicomDirSerie *GetLastSerie();
+
+/*
+ // for future use (Full DICOMDIR)
+
+ DicomDirVisit *GetFirstVisit();
+ DicomDirVisit *GetNextVisit();
+
+ DicomDirResult *GetFirstResult();
+ DicomDirResult *GetNextResult();
+
+ DicomDirStudyComponent *GetFirstStudyComponent();
+ DicomDirStudyComponent *GetNextStudyComponent();
+
+*/