+ // Note: the DicomDir:: namespace prefix is needed by Swig in the
+ // following method declarations. Refer to gdcmPython/gdcm.i
+ // for the reasons of this unnecessary notation at C++ level.
+ void SetStartMethod( DicomDir::Method *method,
+ void *arg = NULL,
+ DicomDir::Method *argDelete = NULL );
+ void SetProgressMethod( DicomDir::Method *method,
+ void *arg = NULL,
+ DicomDir::Method *argDelete = NULL );
+ void SetEndMethod( DicomDir::Method *method,
+ void *arg = NULL,
+ DicomDir::Method *argDelete = NULL );
+ void SetStartMethodArgDelete ( DicomDir::Method *m );
+ void SetProgressMethodArgDelete( DicomDir::Method *m );
+ void SetEndMethodArgDelete ( DicomDir::Method *m );
+
+ /// GetProgress GetProgress
+ float GetProgress() { return Progress; };
+ /// AbortProgress AbortProgress
+ void AbortProgress() { Abort = true; };
+ /// IsAborted IsAborted
+ bool IsAborted() { return Abort; };
+
+ // Write
+ bool WriteDicomDir(std::string const &fileName);
+
+ bool AnonymizeDicomDir();
+
+ /// Types of the DicomDirObject within the DicomDir