#include <string>
#include <vector>
Go to the source code of this file.
◆ AssertMsg
#define AssertMsg |
( |
|
condition, |
|
|
|
message |
|
) |
| |
Value: do { \
if (!(condition)) { \
} \
} while (false)
static void RaiseUserAssertion(int line, const std::string &file, const std::string &condition, const std::string &message, const std::vector< std::string > &backtrace)
Definition: Macro.cpp:50
static std::vector< std::string > Backtrace(int skip=1)
Definition: Macro.cpp:129
◆ InternAssert
#define InternAssert |
( |
|
condition | ) |
|
Value: do { \
if (!(condition)) { \
} \
} while (false)
static void RaiseInternAssertion(int line, const std::string &file, const std::string &condition, const std::vector< std::string > &backtrace)
Definition: Macro.cpp:78
◆ InternAssertMsg
#define InternAssertMsg |
( |
|
condition, |
|
|
|
message |
|
) |
| |
Value: do { \
if (!(condition)) { \
} \
} while (false)
static void RaiseInternAssertionMsg(int line, const std::string &file, const std::string &condition, const std::string &message, const std::vector< std::string > &backtrace)
Definition: Macro.cpp:102
◆ SafeModeAssert
#define SafeModeAssert |
( |
|
condition, |
|
|
|
message |
|
) |
| |
◆ TODO
◆ UserAssert
#define UserAssert |
( |
|
condition, |
|
|
|
message |
|
) |
| |
Value: do { \
if (!(condition)) { \
} \
} while (false)