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