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

◆ debugvalue()

edm::debugvalue::debugvalue ( )

Definition at line 8 of file DebugMacros.cc.

8 : cvalue_(std::getenv("PROC_DEBUG")), value_(cvalue_ == nullptr ? 0 : atoi(cvalue_)) {}

Member Function Documentation

◆ operator()()

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

Definition at line 10 of file DebugMacros.h.

10 { return value_; }

References value_.

Member Data Documentation

◆ cvalue_

const char* edm::debugvalue::cvalue_

Definition at line 12 of file DebugMacros.h.

◆ value_

int edm::debugvalue::value_

Definition at line 13 of file DebugMacros.h.

Referenced by operator()().

edm::debugvalue::value_
int value_
Definition: DebugMacros.h:13
edm::debugvalue::cvalue_
const char * cvalue_
Definition: DebugMacros.h:12