AssertionData is a struct that contains all the information of an assertion. It will be thrown as an exception when the assertion failed.
More...
#include <assert.h>
AssertionData is a struct that contains all the information of an assertion. It will be thrown as an exception when the assertion failed.
◆ AssertionData()
zeroerr::AssertionData::AssertionData |
( |
const char * |
file, |
|
|
unsigned |
line, |
|
|
const char * |
cond, |
|
|
assert_info |
info |
|
) |
| |
|
inline |
◆ log()
std::string zeroerr::AssertionData::log |
( |
| ) |
|
|
inline |
◆ operator()()
void zeroerr::AssertionData::operator() |
( |
| ) |
|
|
inline |
◆ setException()
void zeroerr::AssertionData::setException |
( |
const std::exception & |
e | ) |
|
|
inline |
◆ setResult()
void zeroerr::AssertionData::setResult |
( |
ExprResult && |
result | ) |
|
|
inline |
◆ shouldThrow()
bool zeroerr::AssertionData::shouldThrow |
( |
| ) |
|
|
inline |
◆ cond
std::string zeroerr::AssertionData::cond |
◆ file
const char* zeroerr::AssertionData::file |
◆ info
◆ line
unsigned zeroerr::AssertionData::line |
◆ message
std::string zeroerr::AssertionData::message |
◆ passed
bool zeroerr::AssertionData::passed |
The documentation for this struct was generated from the following file: