|
#define | corbo_FUNCTION_NAME __FUNCTION__ |
|
#define | corbo_FUNCTION_NAME_FORMATTED "[" << corbo_FUNCTION_NAME << "] " |
|
#define | DEFAULT_COLOR corbo::TextColorCode::FG_DEFAULT |
|
#define | ERROR_COLOR corbo::TextColorCode::FG_LIGHT_RED |
|
#define | INPUT_STREAM(variable, default_val) std::cin >> variable |
|
#define | INPUT_STREAM_DEFAULT(variable, default_val) |
|
#define | INPUT_STREAM_DEFAULT_MSG(msg, variable, default_val) |
|
#define | INPUT_STREAM_MSG(msg, variable, default_val) |
|
#define | PRINT_DEBUG(msg) std::cout << "Debug: " << msg << std::endl; |
| Print msg-stream only if project is compiled in Debug-mode. More...
|
|
#define | PRINT_DEBUG_COND(cond, msg) if (cond) std::cout << "Debug: " << msg << std::endl; |
| Print msg-stream only if cond == true and only if project is compiled in Debug-mode. More...
|
|
#define | PRINT_DEBUG_COND_NAMED(cond, msg) PRINT_DEBUG_COND(cond, corbo_FUNCTION_NAME_FORMATTED << msg) |
|
#define | PRINT_DEBUG_COND_ONCE(cond, msg) |
| Print msg-stream only if cond == true , only once and only if project is compiled in Debug-mode. More...
|
|
#define | PRINT_DEBUG_COND_ONCE_NAMED(cond, msg) PRINT_DEBUG_COND_ONCE(cond, corbo_FUNCTION_NAME_FORMATTED << msg) |
|
#define | PRINT_DEBUG_NAMED(msg) PRINT_DEBUG(corbo_FUNCTION_NAME_FORMATTED << msg) |
|
#define | PRINT_DEBUG_ONCE(msg) |
| Print msg-stream only once and only if project is compiled in Debug-mode. More...
|
|
#define | PRINT_DEBUG_ONCE_NAMED(msg) PRINT_DEBUG_ONCE(corbo_FUNCTION_NAME_FORMATTED << msg) |
|
#define | PRINT_DEBUG_WARN(msg) PRINT_DEBUG(WARNING_COLOR << msg << DEFAULT_COLOR) |
| Print message in debug mode with warning-color-code. More...
|
|
#define | PRINT_ERROR(msg) std::cerr << ERROR_COLOR << "Error: " << msg << DEFAULT_COLOR << std::endl |
| Print msg-stream as error msg. More...
|
|
#define | PRINT_ERROR_COND(cond, msg) if (cond) std::cerr << ERROR_COLOR << "Error: " << msg << DEFAULT_COLOR << std::endl |
| Print msg-stream only if cond == true . More...
|
|
#define | PRINT_ERROR_COND_NAMED(cond, msg) PRINT_ERROR_COND(cond, corbo_FUNCTION_NAME_FORMATTED << msg) |
|
#define | PRINT_ERROR_COND_ONCE(cond, msg) |
| Print msg-stream only if cond == true , only once. More...
|
|
#define | PRINT_ERROR_COND_ONCE_NAMED(cond, msg) PRINT_ERROR_COND_ONCE(cond, corbo_FUNCTION_NAME_FORMATTED << msg) |
|
#define | PRINT_ERROR_NAMED(msg) PRINT_ERROR(corbo_FUNCTION_NAME_FORMATTED << msg) |
|
#define | PRINT_ERROR_ONCE(msg) |
| Print msg-stream only once. More...
|
|
#define | PRINT_ERROR_ONCE_NAMED(msg) PRINT_ERROR_ONCE(corbo_FUNCTION_NAME_FORMATTED << msg) |
|
#define | PRINT_FATAL(msg) |
| Print msg-stream as fatal error msg and exit program execution. More...
|
|
#define | PRINT_FATAL_NAMED(msg) PRINT_FATAL(corbo_FUNCTION_NAME_FORMATTED << msg) |
|
#define | PRINT_INFO(msg) std::cout << "Info: " << msg << std::endl |
| Print msg-stream . More...
|
|
#define | PRINT_INFO_COND(cond, msg) if (cond) std::cout << "Info: " << msg << std::endl |
| Print msg-stream only if cond == true . More...
|
|
#define | PRINT_INFO_COND_NAMED(cond, msg) PRINT_INFO_COND(cond, corbo_FUNCTION_NAME_FORMATTED << msg) |
|
#define | PRINT_INFO_COND_ONCE(cond, msg) |
| Print msg-stream only if cond == true , only once. More...
|
|
#define | PRINT_INFO_COND_ONCE_NAMED(cond, msg) PRINT_INFO_COND_ONCE(cond, corbo_FUNCTION_NAME_FORMATTED << msg) |
|
#define | PRINT_INFO_NAMED(msg) PRINT_INFO(corbo_FUNCTION_NAME_FORMATTED << msg) |
|
#define | PRINT_INFO_ONCE(msg) |
| Print msg-stream only once. More...
|
|
#define | PRINT_INFO_ONCE_NAMED(msg) PRINT_INFO_ONCE(corbo_FUNCTION_NAME_FORMATTED << msg) |
|
#define | PRINT_WARNING(msg) std::cout << WARNING_COLOR << "Warning: " << msg << DEFAULT_COLOR << std::endl |
| Print msg-stream . More...
|
|
#define | PRINT_WARNING_COND(cond, msg) if (cond) std::cout << WARNING_COLOR << "Warning: " << msg << DEFAULT_COLOR << std::endl |
| Print msg-stream only if cond == true . More...
|
|
#define | PRINT_WARNING_COND_NAMED(cond, msg) PRINT_WARNING_COND(cond, corbo_FUNCTION_NAME_FORMATTED << msg) |
|
#define | PRINT_WARNING_COND_ONCE(cond, msg) |
| Print msg-stream only if cond == true , only once. More...
|
|
#define | PRINT_WARNING_COND_ONCE_NAMED(cond, msg) PRINT_WARNING_COND_ONCE(cond, corbo_FUNCTION_NAME_FORMATTED << msg) |
|
#define | PRINT_WARNING_NAMED(msg) PRINT_WARNING(corbo_FUNCTION_NAME_FORMATTED << msg) |
|
#define | PRINT_WARNING_ONCE(msg) |
| Print msg-stream only once. More...
|
|
#define | PRINT_WARNING_ONCE_NAMED(msg) PRINT_WARNING_ONCE(corbo_FUNCTION_NAME_FORMATTED << msg) |
|
#define | WARNING_COLOR corbo::TextColorCode::FG_LIGHT_YELLOW |
|