- virtual void Print(std::ostream &os = std::cout);
- virtual void Write(FILE *fp, FileType t);
-/**
- * \ingroup DicomDirSerie
- * \brief returns the IMAGE chained List for this SERIE.
- */
- ListDicomDirImage &GetDicomDirImages() { return images; };
-/**
- * \ingroup DicomDirSerie
- * \brief adds the passed IMAGE to the IMAGE chained List for this SERIE.
- */
- void AddDicomDirImage(DicomDirImage *obj) { images.push_back(obj); };
+ void Print( std::ostream &os = std::cout, std::string const &indent = "" );
+ void WriteContent( std::ofstream *fp, FileType t );
+
+ // Image methods
+ DicomDirImage *NewImage();
+ /// Add a new gdcm::DicomDirImage to the Serie
+ void AddImage(DicomDirImage *obj) { Images.push_back(obj); };
+ void ClearImage();
+
+ DicomDirImage *GetFirstImage();
+ DicomDirImage *GetNextImage();