LifeV
|
Assert macros for LifeV. More...
#include <lifev/core/util/LifeAssertSmart.hpp>
Go to the source code of this file.
Macros | |
#define | ABORT() std::abort() |
#define | ERROR_MSG(A) LIFEV_ASSERT( 0 ).error( A ); |
#define | RETURN_UNDEFINED ERROR_MSG("undefined return"); return 0; |
#define | ASSERT0(X, A) LIFEV_ASSERT( X ).error( A ); |
#define | ASSERT_PRE0(X, A) LIFEV_ASSERT( X ).error( "Precondition Error" ); |
#define | ASSERT_POS0(X, A) LIFEV_ASSERT( X ).error( "Postcondition Error" ); |
#define | ASSERT_INV0(X, A) LIFEV_ASSERT( X ).error( "Invariant Error : " ); |
#define | ASSERT_BD0(X) LIFEV_ASSERT( X ).error( "Array bounds error" ); |
#define | ASSERT(X, A) |
#define | ASSERT_PRE(X, A) |
#define | ASSERT_POS(X, A) |
#define | ASSERT_INV(X, A) |
#define | ASSERT_BD(X) |
Assert macros for LifeV.
Definition in file LifeAssert.hpp.
#define ABORT | ( | ) | std::abort() |
Definition at line 67 of file LifeAssert.hpp.
#define ERROR_MSG | ( | A | ) | LIFEV_ASSERT( 0 ).error( A ); |
Definition at line 69 of file LifeAssert.hpp.
#define RETURN_UNDEFINED ERROR_MSG("undefined return"); return 0; |
Definition at line 70 of file LifeAssert.hpp.
#define ASSERT0 | ( | X, | |
A | |||
) | LIFEV_ASSERT( X ).error( A ); |
Definition at line 71 of file LifeAssert.hpp.
#define ASSERT_PRE0 | ( | X, | |
A | |||
) | LIFEV_ASSERT( X ).error( "Precondition Error" ); |
Definition at line 72 of file LifeAssert.hpp.
#define ASSERT_POS0 | ( | X, | |
A | |||
) | LIFEV_ASSERT( X ).error( "Postcondition Error" ); |
Definition at line 73 of file LifeAssert.hpp.
#define ASSERT_INV0 | ( | X, | |
A | |||
) | LIFEV_ASSERT( X ).error( "Invariant Error : " ); |
Definition at line 74 of file LifeAssert.hpp.
#define ASSERT_BD0 | ( | X | ) | LIFEV_ASSERT( X ).error( "Array bounds error" ); |
Definition at line 75 of file LifeAssert.hpp.
#define ASSERT | ( | X, | |
A | |||
) |
Definition at line 90 of file LifeAssert.hpp.
#define ASSERT_PRE | ( | X, | |
A | |||
) |
Definition at line 96 of file LifeAssert.hpp.
#define ASSERT_POS | ( | X, | |
A | |||
) |
Definition at line 102 of file LifeAssert.hpp.
#define ASSERT_INV | ( | X, | |
A | |||
) |
Definition at line 108 of file LifeAssert.hpp.
#define ASSERT_BD | ( | X | ) |
Definition at line 114 of file LifeAssert.hpp.