![]() |
LLGL 0.05 Beta
|
#include <LLGL/Export.h>Namespaces | |
| namespace | LLGL |
Macros | |
| #define | LLGL_THROW_RUNTIME_ERROR(...) |
| Shortcut to throw a runtime error exception. | |
| #define | LLGL_THROW_OUT_OF_RANGE(...) |
| Shortcut to throw an out of range exception. | |
| #define | LLGL_THROW_BAD_CAST(...) |
| Shortcut to throw a bad cast exception. | |
| #define | LLGL_THROW_INVALID_ARGUMENT(...) |
| Shortcut to throw an invalid argument exception. | |
| #define | LLGL_VERIFY_EXT(EXCEPTION, CONDITION) |
| Helper macro to trap execution when the condition fails. | |
| #define | LLGL_VERIFY(CONDITION) |
| Shortcut for LLGL_VERIFY_EXT(RuntimeError, CONDITION). | |
Enumerations | |
| enum class | LLGL::Exception { LLGL::RuntimeError , LLGL::OutOfRange , LLGL::BadCast , LLGL::InvalidArgument } |
| Enumeration of all exception classes Trap() can throw. More... | |
Functions | |
| LLGL_EXPORT void | LLGL::Trap (Exception exception, const char *origin, const char *format,...) |
| Primary function to trap execution from an unrecoverable state. | |
| #define LLGL_THROW_BAD_CAST | ( | ... | ) |
Shortcut to throw a bad cast exception.
| #define LLGL_THROW_INVALID_ARGUMENT | ( | ... | ) |
Shortcut to throw an invalid argument exception.
| #define LLGL_THROW_OUT_OF_RANGE | ( | ... | ) |
Shortcut to throw an out of range exception.
| #define LLGL_THROW_RUNTIME_ERROR | ( | ... | ) |
Shortcut to throw a runtime error exception.
| #define LLGL_VERIFY | ( | CONDITION | ) |
Shortcut for LLGL_VERIFY_EXT(RuntimeError, CONDITION).
| #define LLGL_VERIFY_EXT | ( | EXCEPTION, | |
| CONDITION ) |
Helper macro to trap execution when the condition fails.
LLGL_ENABLE_EXCEPTIONS.