- 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); };
+class GDCM_EXPORT DicomDirSerie : public DicomDirObject
+{
+public:
+ DicomDirSerie(bool empty=false);
+ ~DicomDirSerie();
+
+ void Print( std::ostream &os = std::cout, std::string const & indent = "" );
+ void WriteContent( std::ofstream *fp, FileType t );
+
+ // should avoid exposing internal mechanism
+ DicomDirImage *GetFirstImage();
+ DicomDirImage *GetNextImage();
+
+ /// adds the passed IMAGE to the IMAGE chained List for this SERIE.
+ void AddImage(DicomDirImage *obj) { Images.push_back(obj); };
+ DicomDirImage *NewImage();
+
+ void ClearImage();