Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
#include <vl/config.hpp>#include <cassert>Namespaces | |
| namespace | vl |
| Visualization Library namespace. | |
Defines | |
| #define | VL_COMPILE_TIME_CHECK(expr) typedef char compile_time_assert[ (expr) ? 1 : -1 ]; |
| #define | VL_TRAP() {} |
| #define | VL_CHECK(expr) { if(!(expr)) { ::vl::log_failed_check(#expr,__FILE__,__LINE__); VL_TRAP() } } |
| #define | VL_WARN(expr) { if(!(expr)) { ::vl::log_failed_check(#expr,__FILE__,__LINE__); } } |
Functions | |
| void | vl::log_failed_check (const char *, const char *, int) |
| #define VL_COMPILE_TIME_CHECK | ( | expr | ) | typedef char compile_time_assert[ (expr) ? 1 : -1 ]; |
| #define VL_TRAP | ( | ) | {} |
| #define VL_CHECK | ( | expr | ) | { if(!(expr)) { ::vl::log_failed_check(#expr,__FILE__,__LINE__); VL_TRAP() } } |
| #define VL_WARN | ( | expr | ) | { if(!(expr)) { ::vl::log_failed_check(#expr,__FILE__,__LINE__); } } |