- 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;
- void *startArg;
- void *progressArg;
- void *endArg;
-
- float progress;
- bool abort;
+ void Initialize();
+ void CreateDicomDir();
+ void AddDicomDirMeta();
+ void AddDicomDirPatientToEnd(SQItem* s);
+ void AddDicomDirStudyToEnd (SQItem* s);
+ void AddDicomDirSerieToEnd (SQItem* s);
+ void AddDicomDirImageToEnd (SQItem* s);
+
+ void SetElements(std::string const & path, VectDocument const &list);
+ void SetElement (std::string const & path, DicomDirType type,
+ Document* header);
+
+ static bool HeaderLessThan(Document* header1, Document* header2);
+
+// Variables
+
+ /// Pointer on *the* DicomDirObject 'DicomDirMeta Elements'
+ DicomDirMeta* MetaElems;
+
+ /// Chained list of DicomDirPatient (to be exploited recursively)
+ ListDicomDirPatient Patients;
+
+ /// pointer to the initialisation method for any progress bar
+ Method* StartMethod;
+ /// pointer to the incrementation method for any progress bar
+ Method* ProgressMethod;
+ /// pointer to the termination method for any progress bar
+ Method* EndMethod;
+ /// pointer to the ??? method for any progress bar
+ Method* StartMethodArgDelete;
+ /// pointer to the ??? method for any progress bar
+ Method* ProgressMethodArgDelete;
+ /// pointer to the ??? method for any progress bar
+ Method* EndMethodArgDelete;
+ /// pointer to the ??? for any progress bar
+ void* StartArg;
+ /// pointer to the ??? for any progress bar
+ void* ProgressArg;
+ /// pointer to the ??? for any progress bar
+ void* EndArg;
+ /// value of the ??? for any progress bar
+ float Progress;
+ /// value of the ??? for any progress bar
+ bool Abort;