ATLAS Offline Software
Static Public Member Functions | List of all members
IdDictParserNS::Debugger Class Reference
Collaboration diagram for IdDictParserNS::Debugger:

Static Public Member Functions

static bool get_debug_state ()
 
static bool debug ()
 
static void tab (int n)
 

Detailed Description

Definition at line 26 of file IdDictParser.cxx.

Member Function Documentation

◆ debug()

static bool IdDictParserNS::Debugger::debug ( )
inlinestatic

Definition at line 32 of file IdDictParser.cxx.

32  {
33  static const bool debug_state = get_debug_state();
34  return debug_state;
35  }

◆ get_debug_state()

static bool IdDictParserNS::Debugger::get_debug_state ( )
inlinestatic

Definition at line 28 of file IdDictParser.cxx.

28  {
29  return ::getenv ("XMLDEBUG") != 0;
30  }

◆ tab()

static void IdDictParserNS::Debugger::tab ( int  n)
inlinestatic

Definition at line 37 of file IdDictParser.cxx.

37  {
38  std::cout << std::string(n, ' ');
39  }

The documentation for this class was generated from the following file:
IdDictParserNS::Debugger::get_debug_state
static bool get_debug_state()
Definition: IdDictParser.cxx:28
beamspotman.n
n
Definition: beamspotman.py:727
SCT_ConditionsAlgorithms::CoveritySafe::getenv
std::string getenv(const std::string &variableName)
get an environment variable
Definition: SCT_ConditionsUtilities.cxx:17