+
+/**
+ * \brief Initialise the visit of the DicomDirPatients of the DicomDir
+ */
+void DicomDir::InitTraversal()
+{
+ ItDicomDirPatient = Patients.begin();
+}
+
+/**
+ * \brief Get the next entry while visiting the DicomDirPatients
+ * \return The next DicomDirPatient if found, otherwhise NULL
+ */
+DicomDirPatient *DicomDir::GetNextEntry()
+{
+ if (ItDicomDirPatient != Patients.end())
+ {
+ DicomDirPatient *tmp = *ItDicomDirPatient;
+ ++ItDicomDirPatient;
+ return tmp;
+ }
+ else
+ {
+ return NULL;
+ }
+}
+
+