X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmBase.h;h=becd59bb2c2a34dea002ca3087ae746279bb21eb;hb=721d134c6e594b9a23bf1ce002ed87bfbc1576a7;hp=a74e7694a431f5bca85d0933a24d11101be23e5c;hpb=9773cdd1d50902a212b648608320e0dad99dcb8c;p=gdcm.git diff --git a/src/gdcmBase.h b/src/gdcmBase.h index a74e7694..becd59bb 100644 --- a/src/gdcmBase.h +++ b/src/gdcmBase.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmBase.h,v $ Language: C++ - Date: $Date: 2005/10/21 07:40:13 $ - Version: $Revision: 1.9 $ + Date: $Date: 2007/10/04 17:50:42 $ + Version: $Revision: 1.13 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -16,17 +16,17 @@ =========================================================================*/ -#ifndef GDCMBASE_H -#define GDCMBASE_H +#ifndef _GDCMBASE_H_ +#define _GDCMBASE_H_ #include "gdcmCommon.h" #include -namespace gdcm +namespace GDCM_NAME_SPACE { //----------------------------------------------------------------------------- /** - * \brief Base class of all gdcm classes + * \brief Base class of all gdcm classes. * Contains the Print related methods : * - Print * - SetPrintLevel / GetPrintLevel @@ -34,9 +34,11 @@ namespace gdcm class GDCM_EXPORT Base { public: - Base( ) {PrintLevel = 0;} + /// \brief Constructor + Base( ) : PrintLevel(0) { } + /// \brief Canonical Destructor virtual ~Base() {} - + /// \brief Printer virtual void Print(std::ostream & = std::cout, std::string const & = "" ) {};