- void CreateDicomDir(void);
- void AddObjectToEnd(gdcmDicomDirType type,
- ListTag::iterator begin,ListTag::iterator end);
- void AddMetaToEnd (ListTag::iterator begin,ListTag::iterator end);
- void AddPatientToEnd(ListTag::iterator begin,ListTag::iterator end);
- void AddStudyToEnd (ListTag::iterator begin,ListTag::iterator end);
- void AddSerieToEnd (ListTag::iterator begin,ListTag::iterator end);
- void AddImageToEnd (ListTag::iterator begin,ListTag::iterator end);
-
- void SetElements(std::string &path,ListHeader &list);
- void SetElement (std::string &path,gdcmDicomDirType type,gdcmHeader *header);
-
- static bool HeaderLessThan(gdcmHeader *header1,gdcmHeader *header2);
-
- gdcmMeta *metaElems;
- ListPatient patients;
-
- gdcmMethod *startMethod;
- gdcmMethod *progressMethod;
- gdcmMethod *endMethod;
- gdcmMethod *startMethodArgDelete;
- gdcmMethod *progressMethodArgDelete;
- gdcmMethod *endMethodArgDelete;
- void *startArg;
- void *progressArg;
- void *endArg;
-
- float progress;
- bool abort;
-};
+ 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);
+
+// Variables