#include <constructor_stats.h>
Public Member Functions | |
int | alive () |
void | copy_created (void *inst) |
void | created (void *inst) |
void | default_created (void *inst) |
void | destroyed (void *inst) |
void | move_created (void *inst) |
void | value () |
template<typename T , typename... Tmore> | |
void | value (const T &v, Tmore &&...args) |
py::list | values () |
Static Public Member Functions | |
static void | gc () |
static ConstructorStats & | get (std::type_index type) |
template<typename T > | |
static ConstructorStats & | get () |
static ConstructorStats & | get (py::object class_) |
Public Attributes | |
int | copy_assignments = 0 |
int | copy_constructions = 0 |
int | default_constructions = 0 |
int | move_assignments = 0 |
int | move_constructions = 0 |
Protected Attributes | |
std::unordered_map< void *, int > | _instances |
std::list< std::string > | _values |
Definition at line 73 of file constructor_stats.h.
|
inline |
Definition at line 127 of file constructor_stats.h.
|
inline |
Definition at line 84 of file constructor_stats.h.
|
inline |
Definition at line 99 of file constructor_stats.h.
|
inline |
Definition at line 94 of file constructor_stats.h.
|
inline |
Definition at line 103 of file constructor_stats.h.
|
inlinestatic |
Definition at line 110 of file constructor_stats.h.
|
inlinestatic |
Definition at line 154 of file constructor_stats.h.
|
inlinestatic |
Definition at line 160 of file constructor_stats.h.
|
inlinestatic |
Definition at line 168 of file constructor_stats.h.
|
inline |
Definition at line 89 of file constructor_stats.h.
|
inline |
Definition at line 136 of file constructor_stats.h.
|
inline |
Definition at line 138 of file constructor_stats.h.
|
inline |
Definition at line 146 of file constructor_stats.h.
|
protected |
Definition at line 75 of file constructor_stats.h.
|
protected |
Definition at line 76 of file constructor_stats.h.
int ConstructorStats::copy_assignments = 0 |
Definition at line 81 of file constructor_stats.h.
int ConstructorStats::copy_constructions = 0 |
Definition at line 79 of file constructor_stats.h.
int ConstructorStats::default_constructions = 0 |
Definition at line 78 of file constructor_stats.h.
int ConstructorStats::move_assignments = 0 |
Definition at line 82 of file constructor_stats.h.
int ConstructorStats::move_constructions = 0 |
Definition at line 80 of file constructor_stats.h.