]> Creatis software - gdcm.git/blobdiff - src/gdcmDicomDir.h
- now, DicomDir stuff stakes into account the 'new' structure
[gdcm.git] / src / gdcmDicomDir.h
index 7caaee987f24bef7980e95d8ef5864dea008b071..4f80a6236ec69f271a1e2af20308ea5b6e84e252 100644 (file)
@@ -3,8 +3,8 @@
   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
@@ -43,18 +43,11 @@ typedef GDCM_EXPORT void(gdcmMethod)(void * = NULL);
 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);
@@ -82,7 +75,7 @@ public:
    float GetProgress()  { return progress; };
 
    /// AbortProgress AbortProgress
-   void  AbortProgress() {abort = true; };
+   void  AbortProgress() { abort = true; };
 
    /// IsAborted IsAborted
    bool  IsAborted() { return abort; };
@@ -91,8 +84,7 @@ public:
    gdcmDicomDirMeta*    NewMeta();
    gdcmDicomDirPatient* NewPatient();
 
-// Write
-   void WriteEntries(FILE *_fp);   
+// Write  
    bool Write(std::string const & fileName);
 
    /// Types of the gdcmObject within the gdcmDicomDir