Definition at line 187 of file TupleObj.cpp.
Tuples::Local::Counter::Counter |
( |
std::string |
msg = " Misbalance " | ) |
|
|
inline |
Tuples::Local::Counter::~Counter |
( |
| ) |
|
|
inline |
long Tuples::Local::Counter::counts |
( |
const std::string & |
object | ) |
const |
|
inline |
Definition at line 199 of file TupleObj.cpp.
std::map< std::string, long > m_map
long Tuples::Local::Counter::decrement |
( |
const std::string & |
object | ) |
|
|
inline |
Definition at line 197 of file TupleObj.cpp.
197 {
return --
m_map[object]; }
std::map< std::string, long > m_map
long Tuples::Local::Counter::increment |
( |
const std::string & |
object | ) |
|
|
inline |
Definition at line 195 of file TupleObj.cpp.
195 {
return ++
m_map[object]; }
std::map< std::string, long > m_map
void Tuples::Local::Counter::report |
( |
| ) |
const |
|
inline |
Definition at line 201 of file TupleObj.cpp.
203 for (
auto& entry :
m_map ) {
204 if ( entry.second != 0 )
205 std::cout <<
"Tuples::TupleObj WARNING " <<
m_message <<
"'" << entry.first <<
"' Counts = " << entry.second
std::map< std::string, long > m_map
The documentation for this class was generated from the following file: