Program: gdcm
Module: $RCSfile: gdcmDicomDir.h,v $
Language: C++
- Date: $Date: 2005/08/29 12:29:50 $
- Version: $Revision: 1.67 $
+ Date: $Date: 2005/10/25 14:52:33 $
+ Version: $Revision: 1.69 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
*/
class GDCM_EXPORT DicomDir: public Document
{
+ gdcmTypeMacro(DicomDir);
+
public:
- typedef void Method(void*);
+ static DicomDir *New() {return new DicomDir();}
- DicomDir();
- GDCM_LEGACY( DicomDir(std::string const &filename, bool parseDir = false) );
- ~DicomDir();
+ typedef void Method(void*);
GDCM_LEGACY( bool Load(std::string const &filename) );
bool Load( );
bool IsAborted() { return Abort; }
// Write
- bool WriteDicomDir(std::string const &fileName);
+ bool Write(std::string const &fileName);
- bool AnonymizeDicomDir();
+ bool Anonymize();
/// Types of the DicomDirObject within the DicomDir
typedef enum
} DicomDirType;
protected:
+ DicomDir();
+ ~DicomDir();
+
void CreateDicomDirChainedList(std::string const &path);
void CallStartMethod();
void CallProgressMethod();