X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmBase.h;h=721d8c523c17a48e01736653768128bef5dc6a56;hb=b06cbd9177331d793223eac6bf8b2bccf874e7e3;hp=3e6097d86a8949cd52fb7e7db0037d8ac0324999;hpb=6a7c2fbcb5bfc240a3b9875ad4836f5dc058e069;p=gdcm.git diff --git a/src/gdcmBase.h b/src/gdcmBase.h index 3e6097d8..721d8c52 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/20 15:24:08 $ - Version: $Revision: 1.8 $ + Date: $Date: 2007/08/22 16:14:03 $ + Version: $Revision: 1.12 $ 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,11 +34,13 @@ namespace gdcm class GDCM_EXPORT Base { public: - Base( ) {PrintLevel = 0;} + /// \brief Constructor + Base( ) { PrintLevel = 0; } + /// \brief Canonical Destructor virtual ~Base() {} - - virtual void Print(std::ostream &os = std::cout, - std::string const & indent = "" ) {}; + /// \brief Printer + 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 Print