- void CreateDicomDir(void);
- void AddObjectToEnd(gdcmDicomDirType type,
- ListTag::iterator begin,ListTag::iterator end);
- void AddDicomDirMetaToEnd (ListTag::iterator begin,ListTag::iterator end);
- void AddDicomDirPatientToEnd(ListTag::iterator begin,ListTag::iterator end);
- void AddDicomDirStudyToEnd (ListTag::iterator begin,ListTag::iterator end);
- void AddDicomDirSerieToEnd (ListTag::iterator begin,ListTag::iterator end);
- void AddDicomDirImageToEnd (ListTag::iterator begin,ListTag::iterator end);
-
- void SetElements(std::string &path,ListHeader &list);
- void SetElement (std::string &path,gdcmDicomDirType type,gdcmHeader *header);
+ void Initialize();
+ void CreateDicomDir();
+ bool DoTheLoadingJob();
+ bool AddPatientToEnd(DicomDirPatient *dd);
+ bool AddStudyToEnd (DicomDirStudy *dd);
+ bool AddSerieToEnd (DicomDirSerie *dd);
+ bool AddVisitToEnd (DicomDirVisit *dd);
+ bool AddImageToEnd (DicomDirImage *dd);
+
+ void SetElements(std::string const &path, VectDocument const &list);
+ void SetElement (std::string const &path, DicomDirType type,
+ Document *header);
+ void MoveSQItem(DocEntrySet *dst, DocEntrySet *src);
+
+ static bool HeaderLessThan(Document *header1, Document *header2);