+/**
+ * \brief Get the next entry while visiting the DicomDirPrivates
+ * \note : meaningfull only if GetFirstPrivate already called
+ * \return The next DicomDirPrivates if found, otherwhise NULL
+ */
+DicomDirPrivate *DicomDirSerie::GetNextPrivate()
+{
+ gdcmAssertMacro (ItPrivate != Privates.end());
+
+ ++ItPrivate;
+ if (ItPrivate != Privates.end())
+ return *ItPrivate;
+ return NULL;
+}
+
+/**
+ * \brief Copies all the attributes from an other DocEntrySet
+ * @param set entry to copy from
+ * @remarks The contained DocEntries a not copied, only referenced
+ */
+void DicomDirSerie::Copy(DocEntrySet *set)
+{
+ // Remove all previous childs
+ ClearImage();
+ ClearPrivate();
+
+ DicomDirObject::Copy(set);
+
+ DicomDirSerie *ddEntry = dynamic_cast<DicomDirSerie *>(set);
+ if( ddEntry )
+ {
+ Images = ddEntry->Images;
+ for(ItImage = Images.begin();ItImage != Images.end();++ItImage)
+ (*ItImage)->Register();
+
+ Privates = ddEntry->Privates;
+ for(ItPrivate = Privates.begin();ItPrivate != Privates.end();++ItPrivate)
+ (*ItPrivate)->Register();
+ }
+}