36 #ifndef _OrxAssert_H__ 37 #define _OrxAssert_H__ 54 #define OrxAssert(condition, errorMessage) \ 59 orxout(user_error) << __FILE__ << "(" << __LINE__ << "): "; \ 60 orxout(user_error) << "Assertion failed in " << __FUNCTIONNAME__ << endl; \ 61 orxout(user_error) << "Expression: " << #condition << endl; \ 62 orxout(user_error) << "Message : " << errorMessage << endl; \ 65 assert(!#condition); \ 78 #define OrxVerify(condition, errorMessage) \ 83 orxout(user_error) << __FILE__ << "(" << __LINE__ << "): "; \ 84 orxout(user_error) << "Verification failed in " << __FUNCTIONNAME__ << endl; \ 85 orxout(user_error) << "Expression: " << #condition << endl; \ 86 orxout(user_error) << "Message : " << errorMessage << endl; \ 89 assert(!#condition); \ 95 #define OrxAssert(condition, errorMessage) ((void)0) 97 #define OrxVerify(condition, errorMessage) \ 102 orxout(user_error) << __FILE__ << "(" << __LINE__ << "): "; \ 103 orxout(user_error) << "Verification failed in " << __FUNCTIONNAME__ << endl; \ 104 orxout(user_error) << "Expression: " << #condition << endl; \ 105 orxout(user_error) << "Message : " << errorMessage << endl; \ Shared library macros, enums, constants and forward declarations for the util library ...
Defines the helper function orxout() and includes all necessary headers to use the output system...