Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes | List of all members
ConstructorStats Class Reference

#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 ()
 
template<typename T >
static ConstructorStatsget ()
 
static ConstructorStatsget (py::object class_)
 
static ConstructorStatsget (std::type_index type)
 

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
 

Detailed Description

Definition at line 75 of file constructor_stats.h.

Member Function Documentation

◆ alive()

int ConstructorStats::alive ( )
inline

Definition at line 131 of file constructor_stats.h.

◆ copy_created()

void ConstructorStats::copy_created ( void *  inst)
inline

Definition at line 88 of file constructor_stats.h.

◆ created()

void ConstructorStats::created ( void *  inst)
inline

Definition at line 103 of file constructor_stats.h.

◆ default_created()

void ConstructorStats::default_created ( void *  inst)
inline

Definition at line 98 of file constructor_stats.h.

◆ destroyed()

void ConstructorStats::destroyed ( void *  inst)
inline

Definition at line 105 of file constructor_stats.h.

◆ gc()

static void ConstructorStats::gc ( )
inlinestatic

Definition at line 113 of file constructor_stats.h.

◆ get() [1/3]

template<typename T >
static ConstructorStats& ConstructorStats::get ( )
inlinestatic

Definition at line 170 of file constructor_stats.h.

◆ get() [2/3]

static ConstructorStats& ConstructorStats::get ( py::object  class_)
inlinestatic

Definition at line 178 of file constructor_stats.h.

◆ get() [3/3]

static ConstructorStats& ConstructorStats::get ( std::type_index  type)
inlinestatic

Definition at line 163 of file constructor_stats.h.

◆ move_created()

void ConstructorStats::move_created ( void *  inst)
inline

Definition at line 93 of file constructor_stats.h.

◆ value() [1/2]

void ConstructorStats::value ( )
inline

Definition at line 142 of file constructor_stats.h.

◆ value() [2/2]

template<typename T , typename... Tmore>
void ConstructorStats::value ( const T v,
Tmore &&...  args 
)
inline

Definition at line 145 of file constructor_stats.h.

◆ values()

py::list ConstructorStats::values ( )
inline

Definition at line 153 of file constructor_stats.h.

Member Data Documentation

◆ _instances

std::unordered_map<void *, int> ConstructorStats::_instances
protected

Definition at line 77 of file constructor_stats.h.

◆ _values

std::list<std::string> ConstructorStats::_values
protected

Definition at line 79 of file constructor_stats.h.

◆ copy_assignments

int ConstructorStats::copy_assignments = 0

Definition at line 85 of file constructor_stats.h.

◆ copy_constructions

int ConstructorStats::copy_constructions = 0

Definition at line 83 of file constructor_stats.h.

◆ default_constructions

int ConstructorStats::default_constructions = 0

Definition at line 82 of file constructor_stats.h.

◆ move_assignments

int ConstructorStats::move_assignments = 0

Definition at line 86 of file constructor_stats.h.

◆ move_constructions

int ConstructorStats::move_constructions = 0

Definition at line 84 of file constructor_stats.h.


The documentation for this class was generated from the following file:


gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:43:35