- virtual void Print(std::ostream &os = std::cout);
- virtual void Write(FILE *fp, FileType t);
-/**
- * \ingroup gdcmDicomDirSerie
- * \brief returns the IMAGE chained List for this SERIE.
- */
- ListDicomDirImage &GetDicomDirImages() { return images; };
-/**
- * \ingroup gdcmDicomDirSerie
- * \brief adds the passed IMAGE to the IMAGE chained List for this SERIE.
- */
- void AddDicomDirImage(gdcmDicomDirImage *obj) { images.push_back(obj); };
+ void Print( std::ostream& os = std::cout );
+ void Write( std::ofstream* fp, FileType t );
+
+ /**
+ * \ingroup DicomDirSerie
+ * \brief returns the IMAGE chained List for this SERIE.
+ */
+ ListDicomDirImage const & GetDicomDirImages() const { 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); };