Program: gdcm
Module: $RCSfile: gdcmDicomDir.h,v $
Language: C++
- Date: $Date: 2005/08/31 09:29:12 $
- Version: $Revision: 1.68 $
+ Date: $Date: 2005/11/21 09:46:25 $
+ Version: $Revision: 1.70 $
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*);
+/// \brief Constructs a DicomDir with a RefCounter
+ 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( );
void Print(std::ostream &os = std::cout, std::string const &indent = "" );
virtual void SetFileName(std::string const &fileName)
{ ParseDir = false; if (Filename != fileName)
Filename = fileName, IsDocumentModified = true;}
-
- /// DEPRECATED : use SetDirectoryName
- GDCM_LEGACY( void SetParseDir(bool parseDir) );
// Informations contained in the parser
virtual bool IsReadable();
} DicomDirType;
protected:
+ DicomDir();
+ ~DicomDir();
+
void CreateDicomDirChainedList(std::string const &path);
void CallStartMethod();
void CallProgressMethod();