rad  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions
Assert.h File Reference
#include "scxml4cpp/Log.h"

Go to the source code of this file.

Macros

#define SCXML4CPP_ASSERT(a)   scxml4cpp_assert(a, __FILE__, __FUNCTION__, __LINE__)
 
#define SCXML4CPP_ASSERTPTR(a)   scxml4cpp_assert(a != NULL, __FILE__, __FUNCTION__, __LINE__)
 
#define SCXML4CPP_ASSERTNEVER()   scxml4cpp_assert(false, __FILE__, __FUNCTION__, __LINE__)
 

Functions

void scxml4cpp_assert (bool condition, const char *fileName, const char *functionName, int lineNumber)
 

Macro Definition Documentation

#define SCXML4CPP_ASSERT (   a)    scxml4cpp_assert(a, __FILE__, __FUNCTION__, __LINE__)
#define SCXML4CPP_ASSERTNEVER ( )    scxml4cpp_assert(false, __FILE__, __FUNCTION__, __LINE__)
#define SCXML4CPP_ASSERTPTR (   a)    scxml4cpp_assert(a != NULL, __FILE__, __FUNCTION__, __LINE__)

Function Documentation

void scxml4cpp_assert ( bool  condition,
const char *  fileName,
const char *  functionName,
int  lineNumber 
)