#include <sstream>
#include "IexExport.h"
#include "IexForward.h"
Go to the source code of this file.
#define APPEND_EXC |
( |
|
exc, |
|
|
|
text |
|
) |
| |
Value:do \
{ \
std::stringstream _iex_append_s; \
_iex_append_s << text; \
exc.append (_iex_append_s); \
} while (0)
Definition at line 63 of file IexMacros.h.
#define ASSERT |
( |
|
assertion, |
|
|
|
type, |
|
|
|
text |
|
) |
| |
Value:do \
if (
bool (assertion) ==
false) {
THROW (
type, text); } \
} while (0)
#define THROW(type, text)
Definition at line 106 of file IexMacros.h.
#define LOGIC_ASSERT |
( |
|
assertion | ) |
|
Value:
assertion, \
__FILE__ << "(" << __LINE__ \
<< "): logical assertion failed: " << #assertion)
#define ASSERT(assertion, type, text)
Definition at line 122 of file IexMacros.h.
#define REPLACE_EXC |
( |
|
exc, |
|
|
|
text |
|
) |
| |
Value:do \
{ \
std::stringstream _iex_replace_s; \
_iex_replace_s << text; \
exc.assign (_iex_replace_s); \
} while (0)
Definition at line 71 of file IexMacros.h.
#define THROW |
( |
|
type, |
|
|
|
text |
|
) |
| |
Value:do \
std::stringstream _iex_throw_s; \
_iex_throw_s << text; \
throw
type (_iex_throw_s); \
} while (0)
IEX_EXPORT void iex_debugTrap()
Definition at line 31 of file IexMacros.h.
#define THROW_ERRNO |
( |
|
text | ) |
|
Value:do \
{ \
std::stringstream _iex_throw_errno_s; \
_iex_throw_errno_s << text;
\
} while (0)
IEX_INTERNAL_NAMESPACE_HEADER_ENTER IEX_EXPORT void throwErrnoExc(const std::string &txt, int errnum)
Definition at line 89 of file IexMacros.h.