X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDir.h;h=7a698763d2ea978b29def667c903e04d767582ea;hb=d458de05c75d91f722d31020cd1a96745caf382f;hp=22ced06db8dfde4bbeb416385556b5c010b25ffb;hpb=278965e64eb49669b1a05493843f97144d8323b4;p=gdcm.git diff --git a/src/gdcmDicomDir.h b/src/gdcmDicomDir.h index 22ced06d..7a698763 100644 --- a/src/gdcmDicomDir.h +++ b/src/gdcmDicomDir.h @@ -3,8 +3,8 @@ 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 @@ -50,12 +50,12 @@ typedef std::vector VectDocument; */ 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( ); @@ -123,9 +123,9 @@ public: 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 @@ -140,6 +140,9 @@ public: } DicomDirType; protected: + DicomDir(); + ~DicomDir(); + void CreateDicomDirChainedList(std::string const &path); void CallStartMethod(); void CallProgressMethod();