#include <lemon/counter.h>
| Public Types | |
| typedef _SubCounter< Counter > | SubCounter | 
|  | |
| typedef _SubNoCounter< Counter > | SubNoCounter | 
|  | |
| Public Member Functions | |
| Counter () | |
|  | |
| Counter (std::string title, std::ostream &os=std::cerr) | |
|  | |
| Counter (const char *title, std::ostream &os=std::cerr) | |
|  | |
| ~Counter () | |
| Destructor. Prints the given title and the value of the counter. | |
| Counter & | operator++ () | 
|  | |
| int | operator++ (int) | 
|  | |
| Counter & | operator-- () | 
|  | |
| int | operator-- (int) | 
|  | |
| Counter & | operator+= (int c) | 
|  | |
| Counter & | operator-= (int c) | 
|  | |
| void | reset (int c=0) | 
|  | |
| operator int () | |
|  | |
| typedef _SubCounter<Counter> SubCounter | 
| typedef _SubNoCounter<Counter> SubNoCounter | 
 1.5.9
 1.5.9