![]() |
COOLFluiD
Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
|
Manager of behavior of assertions. More...
#include <Assertions.hpp>
Inherits noncopyable.
Public Member Functions | |
| AssertionManager () | |
| Constructor. More... | |
Static Public Member Functions | |
| static AssertionManager & | instance () |
| Gets the instance of the manager. More... | |
| static bool | notHandlingAssertions () |
| static void | do_assert (bool condition, const char *cond_str, const char *file, int line, const char *func, const char *desc=0) |
| Forward declaration of the function that inplements the always present assert. More... | |
| static void | do_assert (bool condition, const char *cond_str, const char *file, int line, const char *func, const std::string &desc) |
Public Attributes | |
| bool | DoAssertions |
| flag to dynamically turn off assertions More... | |
| bool | AssertionDumps |
| assertions dump backtraces More... | |
| bool | AssertionThrows |
| assertions throw exceptions More... | |
Manager of behavior of assertions.
Definition at line 26 of file Assertions.hpp.
| AssertionManager | ( | ) |
Constructor.
Definition at line 26 of file Assertions.cpp.
|
static |
Forward declaration of the function that inplements the always present assert.
Definition at line 41 of file Assertions.cpp.
|
inlinestatic |
Definition at line 55 of file Assertions.hpp.
|
static |
Gets the instance of the manager.
Definition at line 33 of file Assertions.cpp.
|
inlinestatic |
If AssertionManager is not handling assertions and those are passed to the standard assert function Controlled by the build option CF3_ENABLE_STDASSERT
Definition at line 38 of file Assertions.hpp.
| bool AssertionDumps |
assertions dump backtraces
Definition at line 65 of file Assertions.hpp.
| bool AssertionThrows |
assertions throw exceptions
Definition at line 67 of file Assertions.hpp.
| bool DoAssertions |
flag to dynamically turn off assertions
Definition at line 63 of file Assertions.hpp.
1.8.9.1
|
Send comments to: COOLFluiD Web Admin |