Program: gdcm
Module: $RCSfile: gdcmDicomDir.h,v $
Language: C++
- Date: $Date: 2004/07/17 22:36:55 $
- Version: $Revision: 1.24 $
+ Date: $Date: 2004/08/26 15:29:52 $
+ Version: $Revision: 1.27 $
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 gdcmDicomDir: public gdcmDocument
{
public:
- gdcmDicomDir(std::string const & fileName,
- bool parseDir = false,
- bool exception_on_error = false);
- gdcmDicomDir(bool exception_on_error = false);
+ gdcmDicomDir( std::string const & fileName, bool parseDir = false );
+ gdcmDicomDir();
~gdcmDicomDir();
- /// \brief Sets the print level for the Dicom Header
- /// \note 0 for Light Print; 1 for 'medium' Print, 2 for Heavy
- void SetPrintLevel(int level)
- { printLevel = level; };
-
/// \brief canonical Printer
/// \sa SetPrintLevel
virtual void Print(std::ostream &os = std::cout);
float GetProgress() { return progress; };
/// AbortProgress AbortProgress
- void AbortProgress() {abort = true; };
+ void AbortProgress() { abort = true; };
/// IsAborted IsAborted
bool IsAborted() { return abort; };
gdcmDicomDirMeta* NewMeta();
gdcmDicomDirPatient* NewPatient();
-// Write
- void WriteEntries(FILE *_fp);
+// Write
bool Write(std::string const & fileName);
/// Types of the gdcmObject within the gdcmDicomDir