#include <casacore/casa/aips.h>
#include <casacore/casa/Exceptions/Error.h>
Go to the source code of this file.
|
| casacore |
| this file contains all the compiler specific defines
|
|
◆ AlwaysAssert
#define AlwaysAssert |
( |
|
expr, |
|
|
|
exception |
|
) |
| |
These marcos are provided for use instead of simply using the constructors of assert_
to allow addition of line numbers and file name in the future.
DebugAssert
and AlwaysAssert
are designed to be used by library elements because they actually raise an exception which can later be later caught. DebugAssertExit
and AlwaysAssertExit
are intended to be used by the applications writer, because they cause an exit(0)
.
Definition at line 157 of file Assert.h.
◆ AlwaysAssertExit
#define AlwaysAssertExit |
( |
|
expr | ) |
|
◆ DebugAssert
#define DebugAssert |
( |
|
expr, |
|
|
|
exception |
|
) |
| |
◆ DebugAssertExit
#define DebugAssertExit |
( |
|
expr | ) |
|