+}
+
+ /**
+ * \brief Get the first entry while visiting the DicomDirSeries
+ * \return The first DicomDirSerie if found, otherwhise NULL
+ */
+DicomDirSerie *DicomDirStudy::GetFirstEntry()
+{
+ ItDicomDirSerie = Series.begin();
+ if (ItDicomDirSerie != Series.end())
+ return *ItDicomDirSerie;
+ return NULL;
+}
+
+/**
+ * \brief Get the next entry while visiting the DicomDirSeries
+ * \note : meaningfull only if GetFirstEntry already called
+ * \return The next DicomDirSerie if found, otherwhise NULL
+ */
+DicomDirSerie *DicomDirStudy::GetNextEntry()
+{
+ gdcmAssertMacro (ItDicomDirSerie != Series.end());
+ {
+ ++ItDicomDirSerie;
+ if (ItDicomDirSerie != Series.end())
+ return *ItDicomDirSerie;
+ }
+ return NULL;
+}