ATLAS Offline Software
DetectorDescription
IdDict
src
Debugger.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef IDDICT_Debugger_H
6
#define IDDICT_Debugger_H
7
8
class
Debugger
9
{
10
public
:
11
static
bool
get_debug_state
() {
12
if
(::
getenv
(
"IDDEBUG"
) != 0) {
13
return
true
;
14
}
15
return
false
;
16
}
17
18
static
bool
debug
() {
19
static
const
bool
debug_state =
get_debug_state
();
20
21
return
debug_state;
22
}
23
};
24
25
#endif
Debugger
Definition:
Debugger.h:9
Debugger::get_debug_state
static bool get_debug_state()
Definition:
Debugger.h:11
Debugger::debug
static bool debug()
Definition:
Debugger.h:18
SCT_ConditionsAlgorithms::CoveritySafe::getenv
std::string getenv(const std::string &variableName)
get an environment variable
Definition:
SCT_ConditionsUtilities.cxx:17
Generated on Sun Dec 22 2024 21:09:18 for ATLAS Offline Software by
1.8.18