FWCore
Utilities
interface
DebugMacros.h
Go to the documentation of this file.
1
#ifndef Utilities_DebugMacros_h
2
#define Utilities_DebugMacros_h
3
4
#include "
FWCore/Utilities/interface/thread_safety_macros.h
"
5
6
namespace
edm
{
7
struct
debugvalue
{
8
debugvalue
();
9
10
int
operator()
() {
return
value_
; }
11
12
const
char
*
cvalue_
;
13
int
value_
;
14
};
15
16
CMS_THREAD_SAFE
extern
debugvalue
debugit
;
17
}
// namespace edm
18
19
#define FDEBUG(lev) \
20
if (lev <= debugit()) \
21
std::cerr
22
23
#endif
edm::debugit
debugvalue debugit
Definition:
DebugMacros.cc:10
edm::debugvalue::value_
int value_
Definition:
DebugMacros.h:13
thread_safety_macros.h
edm::debugvalue::cvalue_
const char * cvalue_
Definition:
DebugMacros.h:12
edm::debugvalue
Definition:
DebugMacros.h:7
CMS_THREAD_SAFE
#define CMS_THREAD_SAFE
edm::debugvalue::operator()
int operator()()
Definition:
DebugMacros.h:10
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::debugvalue::debugvalue
debugvalue()
Definition:
DebugMacros.cc:8
Generated for CMSSW Reference Manual by
1.8.14