CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/FWCore/Utilities/interface/DebugMacros.h

Go to the documentation of this file.
00001 #ifndef Utilities_DebugMacros_h
00002 #define Utilities_DebugMacros_h
00003 
00004 namespace edm {
00005   struct debugvalue {
00006 
00007     debugvalue();
00008 
00009     int operator()() { return value_; }
00010     
00011     const char* cvalue_;
00012     int value_;
00013   };
00014 
00015 extern debugvalue debugit;
00016 }
00017 
00018 #define FDEBUG(lev) if(lev <= debugit()) std::cerr
00019 
00020 #endif