CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
edm::debugvalue Struct Reference

#include <DebugMacros.h>

Public Member Functions

 debugvalue ()
 
int operator() ()
 

Public Attributes

const char * cvalue_
 
int value_
 

Detailed Description

Definition at line 7 of file DebugMacros.h.

Constructor & Destructor Documentation

edm::debugvalue::debugvalue ( )

Definition at line 8 of file DebugMacros.cc.

8  :
9  cvalue_(getenv("PROC_DEBUG")),
10  value_(cvalue_==nullptr ? 0 : atoi(cvalue_))
11  { }
const char * cvalue_
Definition: DebugMacros.h:13

Member Function Documentation

int edm::debugvalue::operator() ( )
inline

Definition at line 11 of file DebugMacros.h.

References value_.

11 { return value_; }

Member Data Documentation

const char* edm::debugvalue::cvalue_

Definition at line 13 of file DebugMacros.h.

int edm::debugvalue::value_

Definition at line 14 of file DebugMacros.h.

Referenced by operator()().