rad  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Macros | Functions
assert.hpp File Reference

Assert header file. More...

Go to the source code of this file.

Namespaces

 rad
 

Macros

#define RAD_ASSERT(a)   rad::Assert(a, __FILE__, __FUNCTION__, __LINE__)
 
#define RAD_ASSERTPTR(a)   rad::Assert(a != nullptr, __FILE__, __FUNCTION__, __LINE__)
 
#define RAD_ASSERTNEVER()   rad::Assert(false, __FILE__, __FUNCTION__, __LINE__)
 

Functions

void rad::Assert (bool condition, const char *filename, const char *functionname, int linenumber)
 

Detailed Description

Assert header file.

Author
landolfa

Macro Definition Documentation

#define RAD_ASSERT (   a)    rad::Assert(a, __FILE__, __FUNCTION__, __LINE__)
#define RAD_ASSERTNEVER ( )    rad::Assert(false, __FILE__, __FUNCTION__, __LINE__)
#define RAD_ASSERTPTR (   a)    rad::Assert(a != nullptr, __FILE__, __FUNCTION__, __LINE__)