Program: gdcm
Module: $RCSfile: gdcmBase.h,v $
Language: C++
- Date: $Date: 2005/10/21 07:40:13 $
- Version: $Revision: 1.9 $
+ 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
=========================================================================*/
-#ifndef GDCMBASE_H
-#define GDCMBASE_H
+#ifndef _GDCMBASE_H_
+#define _GDCMBASE_H_
#include "gdcmCommon.h"
#include <iostream>
-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
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 & = "" ) {};