|
BOSS 8.0.0
BESIII Offline Software System
|
#include "ers/Assertion.h"#include <stdio.h>Go to the source code of this file.
Classes | |
| class | ers::Precondition |
| Precondition issue. More... | |
Namespaces | |
| namespace | ers |
Macros | |
| #define | ERS_PRECONDITION(expr, ...) |
| #define ERS_PRECONDITION | ( | expr, | |
| ... ) |
condition e, if e is not true, then an issue of type ers::Asertion is thrown with message m. If the compiler is gcc, then the transient field of the assertion is set according to the transcience of the expression. This means that if the expression is detected by the compiler as being constant. If the macro N_DEBUG is defined then the macros are disabled.
Definition at line 59 of file Event/ers/include/ers/Precondition.h.
Referenced by ers::StreamFactory::debug(), ers::StreamFactory::debug(), and ers::StreamFactory::set().