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 : cvalue_(std::getenv("PROC_DEBUG")), value_(cvalue_ == nullptr ? 0 : atoi(cvalue_)) {}
const char * cvalue_
Definition: DebugMacros.h:12

Member Function Documentation

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

Definition at line 10 of file DebugMacros.h.

References value_.

10 { return value_; }

Member Data Documentation

const char* edm::debugvalue::cvalue_

Definition at line 12 of file DebugMacros.h.

int edm::debugvalue::value_

Definition at line 13 of file DebugMacros.h.

Referenced by operator()().