ATLAS Offline Software
Loading...
Searching...
No Matches
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()

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 }
static bool get_debug_state()

◆ get_debug_state()

bool IdDictParserNS::Debugger::get_debug_state ( )
inlinestatic

Definition at line 28 of file IdDictParser.cxx.

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

◆ tab()

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: