SCIRun
5.0
|
Utility for specifying data invariants (Assertions) More...
#include <sci_defs/error_defs.h>
#include <Core/Exceptions/AssertionFailed.h>
#include <Core/Exceptions/ArrayIndexOutOfBounds.h>
Go to the source code of this file.
Macros | |
#define | ASSERTFAIL(string) SCI_THROW(SCIRun::AssertionFailed(string, __FILE__, __LINE__)); |
#define | ASSERTMSG_LEGACY(condition, message) |
#define | ASSERTL1(condition) |
#define | ASSERTL2(condition) |
#define | ASSERTL3(condition) |
#define | CHECKARRAYBOUNDS(value, lower, upper) |
#define | USE_IF_ASSERTS_ON(line) |
#define | ASSERTL1(condition) |
#define | ASSERTL2(condition) |
#define | ASSERTL3(condition) |
#define | ASSERTEQ(c1, c2) |
#define | ASSERTRANGE(c, l, h) |
#define | IFASSERT(x) |
#define | ASSERT(condition) ASSERTL2(condition) |
Utility for specifying data invariants (Assertions)
#define ASSERT | ( | condition | ) | ASSERTL2(condition) |
#define ASSERTEQ | ( | c1, | |
c2 | |||
) |
#define ASSERTFAIL | ( | string | ) | SCI_THROW(SCIRun::AssertionFailed(string, __FILE__, __LINE__)); |
#define ASSERTL1 | ( | condition | ) |
#define ASSERTL1 | ( | condition | ) |
#define ASSERTL2 | ( | condition | ) |
#define ASSERTL2 | ( | condition | ) |
#define ASSERTL3 | ( | condition | ) |
#define ASSERTL3 | ( | condition | ) |
#define ASSERTMSG_LEGACY | ( | condition, | |
message | |||
) |
#define ASSERTRANGE | ( | c, | |
l, | |||
h | |||
) |
#define CHECKARRAYBOUNDS | ( | value, | |
lower, | |||
upper | |||
) |
#define IFASSERT | ( | x | ) |
#define USE_IF_ASSERTS_ON | ( | line | ) |