![]() |
ATLAS Offline Software
|
Classes | |
| struct | TestInvariant |
Typedefs | |
| typedef void(* | TestInvariantFunction) (const void *object) |
| effects: apply the test invariant method on an object guarantee: no-fail availability: experts only rationale: this is a templated wrapper for the class specific invariant testers More... | |
Enumerations | |
| enum | Type { assert_soft, assert_hard, assert_noimp, require_soft, require_hard, require_noimp, provide_soft, provide_hard, provide_noimp, invariant } |
Functions | |
| void | fail (const char *package, const char *file, unsigned line, Type type, const char *error) |
| effects: report the error and abort either by exception or assert like guarantee: all-fail failures: as requested requires: file != 0 requires: line != 0 requires: type < typeNum requires: error != 0 availability: experts only More... | |
| bool | testInvariantPrint (TestInvariantFunction function, const void *object) |
| template<class T > | |
| void | testInvariantVoid (const void *object) |
| template<class T > | |
| TestInvariant | invariant_tester (T *object) |
| effects: create the right invariant testing object returns: the tester More... | |
Variables | |
| const char *const | typeLiteral [typeNum] |
| const bool | typeAbort [typeNum] |
| const int | typeNum = invariant + 1 |
| typedef void(* RCU::Check::TestInvariantFunction) (const void *object) |
| enum RCU::Check::Type |
| void RCU::Check::fail | ( | const char * | package, |
| const char * | file, | ||
| unsigned | line, | ||
| Type | type, | ||
| const char * | error | ||
| ) |
effects: report the error and abort either by exception or assert like guarantee: all-fail failures: as requested requires: file != 0 requires: line != 0 requires: type < typeNum requires: error != 0 availability: experts only
Definition at line 67 of file Assert.cxx.
|
inline |
| bool RCU::Check::testInvariantPrint | ( | TestInvariantFunction | function, |
| const void * | object | ||
| ) |
Definition at line 109 of file Assert.cxx.
| void RCU::Check::testInvariantVoid | ( | const void * | object | ) |
| const bool RCU::Check::typeAbort |
Definition at line 48 of file Assert.cxx.
Definition at line 29 of file Assert.cxx.
1.8.18