]> Creatis software - gdcm.git/blobdiff - src/gdcmBase.h
* Remove compilation warnings
[gdcm.git] / src / gdcmBase.h
index 0036ba22115edd06e1ef5c07ebabe298d6803f80..a74e7694a431f5bca85d0933a24d11101be23e5c 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmBase.h,v $
   Language:  C++
-  Date:      $Date: 2005/01/30 17:30:57 $
-  Version:   $Revision: 1.5 $
+  Date:      $Date: 2005/10/21 07:40:13 $
+  Version:   $Revision: 1.9 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -34,18 +34,18 @@ namespace gdcm
 class GDCM_EXPORT Base
 {
 public:
-   Base( );
-   virtual ~Base();
+   Base( ) {PrintLevel = 0;}
+   virtual ~Base() {}
 
-   virtual void Print(std::ostream &os = std::cout, 
-                      std::string const & indent = "" ); 
+   virtual void Print(std::ostream & = std::cout, 
+                      std::string const & = "" ) {};
 
    /// \brief Sets the print level for the Dicom Header Elements
-   /// \note 0 for Light Print; 1 for 'medium' Print, 2 for Heavy
-   void SetPrintLevel(int level) { PrintLevel = level; };
+   /// \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 Entries
-   int GetPrintLevel() { return PrintLevel; };
+   int GetPrintLevel() { return PrintLevel; }
 
 protected:
    /// \brief Amount of printed details for each Dicom Entries :