| 
| long &  | get (std::string_view which) | 
|   | 
simple local counter 
Definition at line 68 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 81 of file GaudiTool.cpp.
   81 { 
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 79 of file GaudiTool.cpp.
   79 { 
return ++
get( 
object ); }
 
 
 
 
◆ report()
  
  
      
        
          | void GaudiToolLocal::Counter::report  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
make a report 
keep the silence?
Definition at line 85 of file GaudiTool.cpp.
   89       for ( 
const auto& entry : 
m_map ) {
 
   91           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: