|
long & | get (std::string_view which) |
|
simple local counter
Definition at line 69 of file GaudiTool.cpp.
◆ Map
◆ Counter()
GaudiToolLocal::Counter::Counter |
( |
std::string |
msg = " Misbalance " | ) |
|
|
inline |
◆ ~Counter()
GaudiToolLocal::Counter::~Counter |
( |
| ) |
|
|
inline |
◆ counts()
long GaudiToolLocal::Counter::counts |
( |
std::string_view |
object | ) |
|
|
inline |
◆ decrement()
long GaudiToolLocal::Counter::decrement |
( |
std::string_view |
object | ) |
|
|
inline |
make the decrement
Definition at line 82 of file GaudiTool.cpp.
82 {
return --
get(
object ); }
◆ get()
long& GaudiToolLocal::Counter::get |
( |
std::string_view |
which | ) |
|
|
inlineprivate |
◆ increment()
long GaudiToolLocal::Counter::increment |
( |
std::string_view |
object | ) |
|
|
inline |
make the increment
Definition at line 80 of file GaudiTool.cpp.
80 {
return ++
get(
object ); }
◆ report()
void GaudiToolLocal::Counter::report |
( |
| ) |
const |
|
inline |
make a report
keep the silence?
Definition at line 86 of file GaudiTool.cpp.
90 for (
const auto& entry :
m_map ) {
92 std::cout <<
"GaudiTool WARNING " <<
m_message <<
"'" << entry.first <<
"' Counts = " << entry.second
◆ m_map
Map GaudiToolLocal::Counter::m_map |
|
private |
◆ m_message
The documentation for this class was generated from the following file: