#include <debug.h>
Intended use is to count events (e.g. number of function calls), but can be used to store any integer value (e.g. size of some data structure)
Definition at line 166 of file debug.h.
CVC3::DebugCounter::DebugCounter | ( | int & | c | ) | [inline] |
CVC3::DebugCounter::operator int | ( | ) | [inline] |
int CVC3::DebugCounter::operator-- | ( | ) | [inline] |
int CVC3::DebugCounter::operator++ | ( | ) | [inline] |
int CVC3::DebugCounter::operator-- | ( | int | ) | [inline] |
int CVC3::DebugCounter::operator++ | ( | int | ) | [inline] |
DebugCounter& CVC3::DebugCounter::operator= | ( | int | x | ) | [inline] |
DebugCounter& CVC3::DebugCounter::operator+= | ( | int | x | ) | [inline] |
DebugCounter& CVC3::DebugCounter::operator-= | ( | int | x | ) | [inline] |
DebugCounter& CVC3::DebugCounter::operator= | ( | const DebugCounter & | x | ) | [inline] |
DebugCounter& CVC3::DebugCounter::operator-= | ( | const DebugCounter & | x | ) | [inline] |
DebugCounter& CVC3::DebugCounter::operator+= | ( | const DebugCounter & | x | ) | [inline] |
bool operator== | ( | const DebugCounter & | c1, | |
const DebugCounter & | c2 | |||
) | [friend] |
bool operator!= | ( | const DebugCounter & | c1, | |
const DebugCounter & | c2 | |||
) | [friend] |
bool operator== | ( | int | c1, | |
const DebugCounter & | c2 | |||
) | [friend] |
bool operator!= | ( | int | c1, | |
const DebugCounter & | c2 | |||
) | [friend] |
bool operator== | ( | const DebugCounter & | c1, | |
int | c2 | |||
) | [friend] |
bool operator!= | ( | const DebugCounter & | c1, | |
int | c2 | |||
) | [friend] |
std::ostream& operator<< | ( | std::ostream & | os, | |
const DebugCounter & | f | |||
) | [friend] |
int* CVC3::DebugCounter::d_counter [private] |
We don't own the pointer.
Definition at line 168 of file debug.h.
Referenced by operator int(), CVC3::operator!=(), operator++(), operator+=(), operator--(), operator-=(), CVC3::operator<<(), operator=(), and CVC3::operator==().