rad 6.2.0
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
assert.hpp File Reference

Assert header file. More...

Go to the source code of this file.

Namespaces

namespace  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

◆ RAD_ASSERT

#define RAD_ASSERT ( a)    rad::Assert(a, __FILE__, __FUNCTION__, __LINE__)

◆ RAD_ASSERTNEVER

#define RAD_ASSERTNEVER ( )    rad::Assert(false, __FILE__, __FUNCTION__, __LINE__)

◆ RAD_ASSERTPTR

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