OGRE-Next
4.0.0unstable
Object-Oriented Graphics Rendering Engine
|
#include "OgrePrerequisites.h"
Namespaces | |
Ogre | |
bswapNN may be defined as macros in <sys/endian.h> or <sys/bswap.h> | |
Ogre::Assert | |
Macros | |
#define | OGRE_ASSERT(cond) |
#define | OGRE_ASSERT_FAIL(msg, ...) |
#define | OGRE_ASSERT_MSG(cond, msg, ...) |
#define | OGRE_STATIC_ASSERT(x) static_assert( x, # x ) |
#define | OGRE_UNUSED(x) |
#define | OGRE_VERIFY(cond) OGRE_ASSERT( cond ) |
#define | OGRE_VERIFY_MSG(cond, msg, ...) OGRE_ASSERT_MSG( cond, msg, ##__VA_ARGS__ ) |
Typedefs | |
typedef FailBehavior(* | Ogre::Assert::Handler) (const char *condition, const char *msg, const char *file, int line) |
Enumerations | |
enum | Ogre::Assert::FailBehavior { Ogre::Assert::Halt , Ogre::Assert::Continue } |
Functions | |
_OgreExport Handler | Ogre::Assert::GetHandler () |
_OgreExport FailBehavior | Ogre::Assert::ReportFailure (const char *condition, const char *file, int line, const char *msg,...) |
_OgreExport void | Ogre::Assert::SetHandler (Handler newHandler) |
#define OGRE_ASSERT | ( | cond | ) |
#define OGRE_ASSERT_FAIL | ( | msg, | |
... | |||
) |
#define OGRE_ASSERT_MSG | ( | cond, | |
msg, | |||
... | |||
) |
#define OGRE_STATIC_ASSERT | ( | x | ) | static_assert( x, # x ) |
#define OGRE_UNUSED | ( | x | ) |
#define OGRE_VERIFY | ( | cond | ) | OGRE_ASSERT( cond ) |
#define OGRE_VERIFY_MSG | ( | cond, | |
msg, | |||
... | |||
) | OGRE_ASSERT_MSG( cond, msg, ##__VA_ARGS__ ) |