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 16 of file IdDictParser.cxx.

Member Function Documentation

◆ debug()

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

Definition at line 22 of file IdDictParser.cxx.

22  {
23  static const bool debug_state = get_debug_state();
24  return debug_state;
25  }

◆ get_debug_state()

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

Definition at line 18 of file IdDictParser.cxx.

18  {
19  return ::getenv ("XMLDEBUG") != 0;
20  }

◆ tab()

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

Definition at line 27 of file IdDictParser.cxx.

27  {
28  std::cout << std::string(n, ' ');
29  }

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