Public Types | |
typedef Foo | CountedType |
The type of the object we are counting. More... | |
typedef CountedObjectRegistry::Counter | Counter |
The (integer) type used to hold the counter. More... | |
Public Member Functions | |
Foo (const Foo &foo) | |
int | GetData () const |
bool | operator!= (const Foo &foo) const |
Foo & | operator= (const Foo &foo) |
bool | operator== (const Foo &foo) const |
void | SetData (const int data) |
Static Public 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... | |
Private Member Functions | |
Foo () | |
~Foo () | |
Private Attributes | |
int | fData |
Friends | |
class | ns2::Bar |
class | utl::InitializedShadowPtr< Foo > |
class | utl::ShadowPtr< Foo > |
Definition at line 37 of file testShadowPtr.cc.
|
inherited |
The type of the object we are counting.
Definition at line 33 of file CountedObject.h.
|
inherited |
The (integer) type used to hold the counter.
Definition at line 35 of file CountedObject.h.
|
inline |
Definition at line 40 of file testShadowPtr.cc.
References fData.
|
inlineprivate |
Definition at line 48 of file testShadowPtr.cc.
|
inlineprivate |
Definition at line 49 of file testShadowPtr.cc.
|
inline |
Definition at line 42 of file testShadowPtr.cc.
Referenced by testShadowPtr::testALot(), testShadowPtr::testDereferenceZeroThrow(), and testShadowPtr::testNoThrow().
|
inlinestaticinherited |
Definition at line 48 of file CountedObject.h.
References utl::CountedObject< T >::fgObjectsAssigned.
|
inlinestaticinherited |
Definition at line 45 of file CountedObject.h.
References utl::CountedObject< T >::fgObjectsCopied.
|
inlinestaticinherited |
number of calls to the constructor
Definition at line 38 of file CountedObject.h.
References utl::CountedObject< T >::fgObjectsCreated.
|
inlinestaticinherited |
number of calls to the destructor
Definition at line 40 of file CountedObject.h.
References utl::CountedObject< T >::fgObjectsDestroyed.
|
inlinestaticinherited |
difference of number of calls to constructor and destructor
Definition at line 42 of file CountedObject.h.
References utl::CountedObject< T >::fgObjectsCreated, and utl::CountedObject< T >::fgObjectsDestroyed.
|
inline |
Definition at line 45 of file testShadowPtr.cc.
References utl::operator==().
Definition at line 41 of file testShadowPtr.cc.
References fData.
|
inline |
Definition at line 44 of file testShadowPtr.cc.
References fData.
|
inline |
Definition at line 43 of file testShadowPtr.cc.
References data.
Referenced by testShadowPtr::testALot().
|
friend |
Definition at line 53 of file testShadowPtr.cc.
|
friend |
Definition at line 55 of file testShadowPtr.cc.
|
friend |
Definition at line 54 of file testShadowPtr.cc.
|
private |
Definition at line 51 of file testShadowPtr.cc.
Referenced by Foo(), operator=(), and operator==().