List of all members | Private Types | Static Private Member Functions
testCountedObject::Object< i > Class Template Reference
Inheritance diagram for testCountedObject::Object< i >:
Inheritance graph
[legend]

Private Types

typedef Object< i > CountedType
 The type of the object we are counting. More...
 
typedef
CountedObjectRegistry::Counter 
Counter
 The (integer) type used to hold the counter. More...
 

Static Private Member Functions

static Counter GetObjectsAssigned ()
 
static Counter GetObjectsCopied ()
 
static Counter GetObjectsCreated ()
 number of calls to the constructor More...
 
static Counter GetObjectsDestroyed ()
 number of calls to the destructor More...
 
static Counter GetObjectsExisting ()
 difference of number of calls to constructor and destructor More...
 

Detailed Description

template<int i>
class testCountedObject::Object< i >

Definition at line 52 of file testCountedObject.cc.

Member Typedef Documentation

typedef Object< i > utl::CountedObject< Object< i > >::CountedType
inherited

The type of the object we are counting.

Definition at line 33 of file CountedObject.h.

typedef CountedObjectRegistry::Counter utl::CountedObject< Object< i > >::Counter
inherited

The (integer) type used to hold the counter.

Definition at line 35 of file CountedObject.h.

Member Function Documentation

static Counter utl::CountedObject< Object< i > >::GetObjectsAssigned ( )
inlinestaticinherited

Definition at line 48 of file CountedObject.h.

static Counter utl::CountedObject< Object< i > >::GetObjectsCopied ( )
inlinestaticinherited

Definition at line 45 of file CountedObject.h.

static Counter utl::CountedObject< Object< i > >::GetObjectsCreated ( )
inlinestaticinherited

number of calls to the constructor

Definition at line 38 of file CountedObject.h.

static Counter utl::CountedObject< Object< i > >::GetObjectsDestroyed ( )
inlinestaticinherited

number of calls to the destructor

Definition at line 40 of file CountedObject.h.

static Counter utl::CountedObject< Object< i > >::GetObjectsExisting ( )
inlinestaticinherited

difference of number of calls to constructor and destructor

Definition at line 42 of file CountedObject.h.


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

, generated on Tue Sep 26 2023.