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