]> Creatis software - gdcm.git/blobdiff - src/gdcmBase.h
Replace stupid method names :
[gdcm.git] / src / gdcmBase.h
index e7b7abccb0e35ddc34d079ae30910da82f49932e..bfaa1f58f9cc3005e19fc29eb5a44d09b4354315 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmBase.h,v $
   Language:  C++
-  Date:      $Date: 2004/12/16 13:46:38 $
-  Version:   $Revision: 1.1 $
+  Date:      $Date: 2005/07/30 18:16:19 $
+  Version:   $Revision: 1.6 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
 namespace gdcm 
 {
 //-----------------------------------------------------------------------------
-/*
+/**
  * \brief Base class of all gdcm classes
- *
- * Contains all to correctly print
- *  - Print method
- *  - SetPrintLevel method
+ * Contains the Print related methods :
+ *  - Print 
+ *  - SetPrintLevel / GetPrintLevel 
  */
 class GDCM_EXPORT Base
 {
@@ -38,17 +37,18 @@ public:
    Base( );
    virtual ~Base();
 
-   virtual void Print(std::ostream &os = std::cout); 
+   virtual void Print(std::ostream &os = std::cout, 
+                      std::string const & indent = "" ); 
 
    /// \brief Sets the print level for the Dicom Header Elements
-   /// \note 0 for Light Print; 1 for 'medium' Print, 2 for Heavy
+   /// \note 0 for Light Print; 1 for 'medium' Print, 2 for Heavy Print
    void SetPrintLevel(int level) { PrintLevel = level; };
 
-   /// \brief Gets the print level for the Dicom Header Elements
+   /// \brief Gets the print level for the Dicom Entries
    int GetPrintLevel() { return PrintLevel; };
 
 protected:
-   /// \brief Amount of printed details for each Header Entry (Dicom Element):
+   /// \brief Amount of printed details for each Dicom Entries :
    /// 0 : stands for the least detail level.
    int PrintLevel;
 };