- virtual void Print(std::ostream &os = std::cout);
- virtual void Write(FILE *fp, FileType t);
-/**
- * \ingroup gdcmDicomDirStudy
- * \brief returns the SERIE chained List for this STUDY.
- */
- ListDicomDirSerie &GetDicomDirSeries() { return series; };
-/**
- * \ingroup gdcmDicomDirStudy
- * \brief adds the passed SERIE to the SERIE chained List for this STUDY.
- */
- void AddDicomDirSerie(gdcmDicomDirSerie *obj) { series.push_back(obj); };
+ // should avoid exposing internal mechanism
+ DicomDirSerie *GetFirstSerie();
+ DicomDirSerie *GetNextSerie();
+ DicomDirSerie *GetLastSerie();