+ typedef void(Method)(void*);
+
+ DicomDir( std::string const & filename, bool parseDir = false );
+ DicomDir();
+
+ ~DicomDir();
+
+ /// \brief canonical Printer
+ /// \sa SetPrintLevel
+ void Print(std::ostream &os = std::cout);
+
+ /// Informations contained in the parser
+ virtual bool IsReadable();
+
+ /// Returns a pointer to the DicomDirMeta for this DICOMDIR.
+ DicomDirMeta* GetDicomDirMeta() { return MetaElems; };
+
+ /// Returns the PATIENT chained List for this DICOMDIR.
+ ListDicomDirPatient const & GetDicomDirPatients() const { return Patients; };
+
+ /// Parsing
+ void ParseDirectory();
+
+ // Note: the DicomDir:: namespace prefix is needed by Swig in the
+ // following method declarations. Refer to gdcmPython/gdcm.i
+ // for the reasons of this unecessary notation at C++ level.
+ void SetStartMethod( DicomDir::Method*,
+ void* = NULL,
+ DicomDir::Method* = NULL );
+ void SetProgressMethod( DicomDir::Method*,
+ void* = NULL,
+ DicomDir::Method* = NULL );
+ void SetEndMethod( DicomDir::Method*,
+ void* = NULL,
+ DicomDir::Method* = NULL );
+ void SetStartMethodArgDelete( DicomDir::Method* );
+ void SetProgressMethodArgDelete( DicomDir::Method* );
+ void SetEndMethodArgDelete( DicomDir::Method* );
+
+ /// GetProgress GetProgress
+ float GetProgress() { return Progress; };