]> Creatis software - gdcm.git/blobdiff - src/gdcmDicomDir.h
ENH: Code simplification
[gdcm.git] / src / gdcmDicomDir.h
index e7c6808feb714d6d9df6c731ca28682b2f652a44..7a5af4303ca529569e1ec02a675d36c3cccb9d34 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDir.h,v $
   Language:  C++
-  Date:      $Date: 2005/02/02 14:52:25 $
-  Version:   $Revision: 1.53 $
+  Date:      $Date: 2005/02/11 15:22:18 $
+  Version:   $Revision: 1.56 $
   
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -56,7 +56,7 @@ public:
                    
    ~DicomDir();
 
-   void Print(std::ostream &os = std::cout, std::string const & indent = "" );
+   void Print(std::ostream &os = std::cout, std::string const &indent = "" );
 
    // Informations contained in the parser
    virtual bool IsReadable();
@@ -64,7 +64,7 @@ public:
    // Meta
    DicomDirMeta    *NewMeta();
    /// Returns a pointer to the DicomDirMeta for this DICOMDIR. 
-   DicomDirMetaGetMeta() { return MetaElems; };
+   DicomDirMeta *GetMeta() { return MetaElems; };
 
    // Patients
    DicomDirPatient *NewPatient();
@@ -131,37 +131,37 @@ private:
    void SetElements(std::string const &path, VectDocument const &list);
    void SetElement (std::string const &path, DicomDirType type,
                     Document *header);
-   void MoveSQItem(DocEntrySet *dst,DocEntrySet *src);
+   void MoveSQItem(DocEntrySet *dst, DocEntrySet *src);
 
    static bool HeaderLessThan(Document *header1, Document *header2);
    
 // Variables
 
    /// Pointer on *the* DicomDirObject 'DicomDirMeta Elements'
-   DicomDirMetaMetaElems;
+   DicomDirMeta *MetaElems;
 
-   /// Chained list of DicomDirPatient (to be exploited recursively) 
+   /// Chained list of DicomDirPatient (to be exploited hierarchicaly) 
    ListDicomDirPatient Patients;
    ListDicomDirPatient::iterator ItPatient;
 
    /// pointer to the initialisation method for any progress bar   
-   MethodStartMethod;
+   Method *StartMethod;
    /// pointer to the incrementation method for any progress bar
-   MethodProgressMethod;
+   Method *ProgressMethod;
    /// pointer to the termination method for any progress bar
-   MethodEndMethod;
+   Method *EndMethod;
    /// pointer to the ??? method for any progress bar   
-   MethodStartMethodArgDelete;
+   Method *StartMethodArgDelete;
    /// pointer to the ??? method for any progress bar
    Method* ProgressMethodArgDelete;
    /// pointer to the ??? method for any progress bar
-   MethodEndMethodArgDelete;
+   Method *EndMethodArgDelete;
    /// pointer to the ??? for any progress bar   
-   voidStartArg;
+   void *StartArg;
    /// pointer to the ??? for any progress bar
-   voidProgressArg;
+   void *ProgressArg;
    /// pointer to the ??? for any progress bar   
-   voidEndArg;
+   void *EndArg;
    /// value of the ??? for any progress bar
    float Progress;
    /// value of the ??? for any progress bar