Nektar++
|
#include <CountedObject.h>
Public Member Functions | |
CountedObject () | |
CountedObject (unsigned int v) | |
CountedObject (unsigned int a1, unsigned int a2) | |
CountedObject (unsigned int a1, unsigned int a2, unsigned int a3) | |
CountedObject (const CountedObject< DerivedType > &rhs) | |
virtual | ~CountedObject () |
CountedObject< DerivedType > & | operator= (const CountedObject< DerivedType > &rhs) |
bool | operator== (const CountedObject< DerivedType > &rhs) const |
bool | operator!= (const CountedObject< DerivedType > &rhs) const |
CountedObject< DerivedType > * | clone () const |
unsigned int | GetValue () const |
operator unsigned int () const | |
Static Public Member Functions | |
static void | ClearCounters () |
static void | Check (unsigned int expectedDefaultConstructed, unsigned int expectedConstructedFromInt, unsigned int expectedDestroyed, unsigned int expectedCopied, unsigned int expectedCloned, unsigned int expectedAssigned) |
Public Attributes | |
unsigned int | value |
Static Public Attributes | |
static unsigned int | numberDefaultConstructed = 0 |
static unsigned int | numberConstructedFromInt = 0 |
static unsigned int | numberDestroyed = 0 |
static unsigned int | numberCopied = 0 |
static unsigned int | numberAssigned = 0 |
static unsigned int | numberCloned = 0 |
static unsigned int | numberOf1ParameterConstructions = 0 |
static unsigned int | numberOf2ParameterConstructions = 0 |
static unsigned int | numberOf3ParameterConstructions = 0 |
static unsigned int | numberOfExpressionConstructions = 0 |
static unsigned int | numberOfExpressionAssignments = 0 |
Definition at line 44 of file CountedObject.h.
|
inline |
Definition at line 47 of file CountedObject.h.
References Nektar::CountedObject< DerivedType >::numberDefaultConstructed.
|
inlineexplicit |
Definition at line 52 of file CountedObject.h.
References Nektar::CountedObject< DerivedType >::numberConstructedFromInt, and Nektar::CountedObject< DerivedType >::numberOf1ParameterConstructions.
|
inline |
Definition at line 58 of file CountedObject.h.
References Nektar::CountedObject< DerivedType >::numberOf2ParameterConstructions.
|
inline |
Definition at line 63 of file CountedObject.h.
References Nektar::CountedObject< DerivedType >::numberOf3ParameterConstructions.
|
inline |
Definition at line 69 of file CountedObject.h.
References Nektar::CountedObject< DerivedType >::numberCopied.
|
inlinevirtual |
Definition at line 74 of file CountedObject.h.
References Nektar::CountedObject< DerivedType >::numberDestroyed.
|
inlinestatic |
Definition at line 117 of file CountedObject.h.
References Nektar::CountedObject< DerivedType >::numberAssigned, Nektar::CountedObject< DerivedType >::numberCloned, Nektar::CountedObject< DerivedType >::numberConstructedFromInt, Nektar::CountedObject< DerivedType >::numberCopied, Nektar::CountedObject< DerivedType >::numberDefaultConstructed, and Nektar::CountedObject< DerivedType >::numberDestroyed.
Referenced by Nektar::SharedArrayUnitTests::BOOST_AUTO_TEST_CASE().
|
inlinestatic |
Definition at line 102 of file CountedObject.h.
References Nektar::CountedObject< DerivedType >::numberAssigned, Nektar::CountedObject< DerivedType >::numberCloned, Nektar::CountedObject< DerivedType >::numberConstructedFromInt, Nektar::CountedObject< DerivedType >::numberCopied, Nektar::CountedObject< DerivedType >::numberDefaultConstructed, Nektar::CountedObject< DerivedType >::numberDestroyed, Nektar::CountedObject< DerivedType >::numberOf1ParameterConstructions, Nektar::CountedObject< DerivedType >::numberOf2ParameterConstructions, Nektar::CountedObject< DerivedType >::numberOf3ParameterConstructions, Nektar::CountedObject< DerivedType >::numberOfExpressionAssignments, and Nektar::CountedObject< DerivedType >::numberOfExpressionConstructions.
Referenced by Nektar::SharedArrayUnitTests::BOOST_AUTO_TEST_CASE(), and Nektar::MemManagerUnitTests::BOOST_AUTO_TEST_CASE().
|
inline |
Definition at line 96 of file CountedObject.h.
References Nektar::CountedObject< DerivedType >::numberCloned.
|
inline |
Definition at line 131 of file CountedObject.h.
References Nektar::CountedObject< DerivedType >::value.
Referenced by Nektar::operator<<().
|
inline |
Definition at line 135 of file CountedObject.h.
References Nektar::CountedObject< DerivedType >::value.
|
inline |
Definition at line 91 of file CountedObject.h.
|
inline |
Definition at line 79 of file CountedObject.h.
References Nektar::CountedObject< DerivedType >::numberAssigned, and Nektar::CountedObject< DerivedType >::value.
|
inline |
Definition at line 86 of file CountedObject.h.
References Nektar::CountedObject< DerivedType >::value.
|
static |
Definition at line 145 of file CountedObject.h.
Referenced by Nektar::CountedObject< DerivedType >::Check(), Nektar::CountedObject< DerivedType >::ClearCounters(), and Nektar::CountedObject< DerivedType >::operator=().
|
static |
Definition at line 146 of file CountedObject.h.
Referenced by Nektar::CountedObject< DerivedType >::Check(), Nektar::CountedObject< DerivedType >::ClearCounters(), and Nektar::CountedObject< DerivedType >::clone().
|
static |
Definition at line 142 of file CountedObject.h.
Referenced by Nektar::CountedObject< DerivedType >::Check(), Nektar::CountedObject< DerivedType >::ClearCounters(), and Nektar::CountedObject< DerivedType >::CountedObject().
|
static |
Definition at line 144 of file CountedObject.h.
Referenced by Nektar::CountedObject< DerivedType >::Check(), Nektar::CountedObject< DerivedType >::ClearCounters(), and Nektar::CountedObject< DerivedType >::CountedObject().
|
static |
Definition at line 141 of file CountedObject.h.
Referenced by Nektar::CountedObject< DerivedType >::Check(), Nektar::CountedObject< DerivedType >::ClearCounters(), and Nektar::CountedObject< DerivedType >::CountedObject().
|
static |
Definition at line 143 of file CountedObject.h.
Referenced by Nektar::CountedObject< DerivedType >::Check(), Nektar::CountedObject< DerivedType >::ClearCounters(), and Nektar::CountedObject< DerivedType >::~CountedObject().
|
static |
Definition at line 147 of file CountedObject.h.
Referenced by Nektar::CountedObject< DerivedType >::ClearCounters(), and Nektar::CountedObject< DerivedType >::CountedObject().
|
static |
Definition at line 148 of file CountedObject.h.
Referenced by Nektar::CountedObject< DerivedType >::ClearCounters(), and Nektar::CountedObject< DerivedType >::CountedObject().
|
static |
Definition at line 149 of file CountedObject.h.
Referenced by Nektar::CountedObject< DerivedType >::ClearCounters(), and Nektar::CountedObject< DerivedType >::CountedObject().
|
static |
Definition at line 151 of file CountedObject.h.
Referenced by Nektar::CountedObject< DerivedType >::ClearCounters().
|
static |
Definition at line 150 of file CountedObject.h.
Referenced by Nektar::CountedObject< DerivedType >::ClearCounters().
unsigned int Nektar::CountedObject< DerivedType >::value |
Definition at line 139 of file CountedObject.h.
Referenced by CellMLToNektar.validator.ValidatorError::__str__(), Nektar::MemManagerUnitTests::BOOST_AUTO_TEST_CASE(), Nektar::CountedObject< DerivedType >::GetValue(), CellMLToNektar.optimize.ExpressionMatcher.N::match(), Nektar::CountedObject< DerivedType >::operator unsigned int(), Nektar::CountedObject< DerivedType >::operator=(), and Nektar::CountedObject< DerivedType >::operator==().