LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
art::debugvalue Struct Reference

#include "DebugMacros.h"

Public Member Functions

 debugvalue ()
 
int operator() ()
 

Public Attributes

const char * cvalue_
 
int value_
 

Detailed Description

Definition at line 9 of file DebugMacros.h.

Constructor & Destructor Documentation

art::debugvalue::debugvalue ( )

Definition at line 8 of file DebugMacros.cc.

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

Member Function Documentation

int art::debugvalue::operator() ( )
inline

Definition at line 14 of file DebugMacros.h.

References value_.

15  {
16  return value_;
17  }

Member Data Documentation

const char* art::debugvalue::cvalue_

Definition at line 19 of file DebugMacros.h.

int art::debugvalue::value_

Definition at line 20 of file DebugMacros.h.

Referenced by operator()().


The documentation for this struct was generated from the following files: