![]() |
ATLAS Offline Software
|
#include <RootCoreUtils/Global.h>Go to the source code of this file.
Classes | |
| struct | RCU::Check::TestInvariant |
Namespaces | |
| namespace | RCU |
| This module defines a variety of assert style macros. | |
| namespace | RCU::Check |
Typedefs | |
| typedef void(* | RCU::Check::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 | |
Functions | |
| 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 | |
| template<class T> | |
| void | RCU::Check::testInvariantVoid (const void *object) |
| template<class T> | |
| TestInvariant | RCU::Check::invariant_tester (T *object) |
| effects: create the right invariant testing object returns: the tester | |
Variables | |
| const int | RCU::Check::typeNum = invariant + 1 |
| #define RCU_ASSERT | ( | x | ) |
| #define RCU_ASSERT0 | ( | y | ) |
| #define RCU_ASSERT0_NOIMP | ( | y | ) |
| #define RCU_ASSERT0_SOFT | ( | y | ) |
| #define RCU_ASSERT_NOIMP | ( | x | ) |
| #define RCU_ASSERT_SLOW | ( | x | ) |
| #define RCU_ASSERT_SOFT | ( | x | ) |
| #define RCU_CHANGE_INVARIANT | ( | x | ) |
Definition at line 226 of file Assert.h.
| #define RCU_CHANGE_INVARIANT_SLOW | ( | x | ) |
| #define RCU_CHECK | ( | type, | |
| condition, | |||
| message ) |
effects: perform a check guarantee: strong failures: !condition
Definition at line 139 of file Assert.h.
| #define RCU_CHECK_JOIN2 | ( | a, | |
| b ) |
effects: join together two tokens
| #define RCU_DESTROY_INVARIANT | ( | x | ) |
| #define RCU_DESTROY_INVARIANT_SLOW | ( | x | ) |
| #define RCU_INVARIANT | ( | x | ) |
| #define RCU_INVARIANT0 | ( | y | ) |
| #define RCU_NEW_INVARIANT | ( | x | ) |
| #define RCU_NEW_INVARIANT_SLOW | ( | x | ) |
| #define RCU_PROVIDE | ( | x | ) |
| #define RCU_PROVIDE0 | ( | y | ) |
| #define RCU_PROVIDE0_NOIMP | ( | y | ) |
| #define RCU_PROVIDE0_SOFT | ( | y | ) |
| #define RCU_PROVIDE_NOIMP | ( | x | ) |
| #define RCU_PROVIDE_SLOW | ( | x | ) |
| #define RCU_PROVIDE_SOFT | ( | x | ) |
| #define RCU_READ_INVARIANT | ( | x | ) |
| #define RCU_READ_INVARIANT_SLOW | ( | x | ) |
| #define RCU_REQUIRE | ( | x | ) |
| #define RCU_REQUIRE0 | ( | y | ) |
| #define RCU_REQUIRE0_NOIMP | ( | y | ) |
| #define RCU_REQUIRE0_SOFT | ( | y | ) |
| #define RCU_REQUIRE_NOIMP | ( | x | ) |
| #define RCU_REQUIRE_SLOW | ( | x | ) |
| #define RCU_REQUIRE_SOFT | ( | x | ) |