- virtual void Print(std::ostream &os = std::cout);
- virtual void Write(std::ofstream *fp, FileType t);
-/**
- * \ingroup DicomDirStudy
- * \brief returns the SERIE chained List for this STUDY.
- */
- ListDicomDirSerie &GetDicomDirSeries() { 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); };
+ void Print(std::ostream &os = std::cout, std::string const & indent = "" );
+ void WriteContent(std::ofstream *fp, FileType t);
+
+ /// Returns the SERIE chained List for this STUDY.
+ ListDicomDirSerie const &GetDicomDirSeries() const { return Series; };
+
+ // should avoid exposing internal mechanism
+ DicomDirSerie *GetFirstEntry();
+ DicomDirSerie *GetNextEntry();
+
+ /// adds the passed SERIE to the SERIE chained List for this STUDY.
+ void AddDicomDirSerie(DicomDirSerie *obj) { Series.push_back(obj); };