Single static counter.
More...
|
| static void | Init () |
| | Call as early as possible to initialize statics for this class. More...
|
| |
| static std::string | Print (std::string regex="") |
| |
| static std::string | PrettyPrintSize (size_t) |
| |
| static std::string | DetectLeaks () |
| |
| DtObjectCounter::DtObjectCounter |
( |
const NameFunction & |
, |
|
|
size_t |
size = 1, |
|
|
bool |
enable = true, |
|
|
const DtObjectContainer * |
container = 0 |
|
) |
| |
|
explicit |
Add to counter container.
| DtObjectCounter::DtObjectCounter |
( |
const std::string & |
, |
|
|
size_t |
size = 1, |
|
|
bool |
enable = true, |
|
|
const DtObjectContainer * |
container = 0 |
|
) |
| |
|
explicit |
Add to counter container.
| DtObjectCounter::~DtObjectCounter |
( |
| ) |
|
Remove from counter container.
| static void DtObjectCounter::Init |
( |
| ) |
|
|
static |
Call as early as possible to initialize statics for this class.
| static std::string DtObjectCounter::Print |
( |
std::string |
regex = "" | ) |
|
|
static |
| static std::string DtObjectCounter::PrettyPrintSize |
( |
size_t |
| ) |
|
|
static |
| static std::string DtObjectCounter::DetectLeaks |
( |
| ) |
|
|
static |
Total number of objects ever created.
| size_t DtObjectCounter::size |
( |
| ) |
const |
|
inline |
Size of each counter piece of data.
| size_t DtObjectCounter::totalSize |
( |
| ) |
const |
|
inline |
Total size in bytes of all data.
| const DtObjectContainer* DtObjectCounter::objects |
( |
| ) |
const |
|
inline |
| void DtObjectCounter::decrement |
( |
| ) |
|
|
inlineprivate |
template<typename D , bool Enable>
| const size_t DtObjectCounter::mySize |
|
private |
| const bool DtObjectCounter::myEnableFlag |
|
private |
| const DtObjectContainer* DtObjectCounter::myObjects |
|
private |
Track individual objects.
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf4-8-branch/include/vrfutil/objectCounter.h