PlayaObjectWithVerbosity.hpp

00001 /* @HEADER@ */
00002 //   
00003 /* @HEADER@ */
00004 
00005 #ifndef PLAYA_OBJECT_WITH_VERBOSITY_HPP
00006 #define PLAYA_OBJECT_WITH_VERBOSITY_HPP
00007 
00008 #include "PlayaDefs.hpp"
00009 #include <iostream>
00010 
00011 namespace Playa
00012 {
00019   class ObjectWithVerbosity
00020     {
00021     public:
00023       ObjectWithVerbosity(int verb=0) : verb_(verb) {}
00024 
00026       virtual ~ObjectWithVerbosity() {;}
00027 
00029       int verb() const {return verb_;}
00030 
00032       void setVerb(int v) {verb_=v;}
00033     private:
00034       int verb_;
00035     };
00036 }
00037 
00038 
00039 #endif

doxygen