Go to the source code of this file.
Macros | |
#define | ApproxMVBB_ASSERTMSG(condition, message) { if(!(condition)){ ApproxMVBB_ERRORMSG(message) } } |
An Assert Macro to use within C++ code. More... | |
#define | ApproxMVBB_ERRORMSG(message) ApproxMVBB_THROWEXCEPTION( message ) |
#define | ApproxMVBB_WARNINGMSG(condition, message) { if(!(condition)){ std::cerr << "WARNING: " << #condition << " : " <<std::endl<< message << std::endl << " @ " << __FILE__ << " (" << __LINE__ << ")" << std::endl;} } |
#define ApproxMVBB_ASSERTMSG | ( | condition, | |
message | |||
) | { if(!(condition)){ ApproxMVBB_ERRORMSG(message) } } |
An Assert Macro to use within C++ code.
condition | The condition which needs to be truem otherwise an assertion is thrown! |
Definition at line 26 of file AssertionDebug.hpp.
#define ApproxMVBB_ERRORMSG | ( | message | ) | ApproxMVBB_THROWEXCEPTION( message ) |
Definition at line 32 of file AssertionDebug.hpp.
#define ApproxMVBB_WARNINGMSG | ( | condition, | |
message | |||
) | { if(!(condition)){ std::cerr << "WARNING: " << #condition << " : " <<std::endl<< message << std::endl << " @ " << __FILE__ << " (" << __LINE__ << ")" << std::endl;} } |
Definition at line 31 of file AssertionDebug.hpp.