All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Macros
Assert.h File Reference

The header that provides the assertion API. More...

#include "SurgSim/Framework/Logger.h"
#include "SurgSim/Framework/AssertMessage.h"
Include dependency graph for Assert.h:

Go to the source code of this file.

Namespaces

 SurgSim
 
 SurgSim::Framework
 

Macros

#define SURGSIM_ASSERT_LOGGER   ::SurgSim::Framework::Logger::getDefaultLogger()
 Logger used to log asserts. More...
 
#define SURGSIM_CURRENT_FUNCTION
 Helper macro to determine the function name currently being compiled. More...
 
#define SURGSIM_MAKE_STRING(x)   #x
 Helper macros to turn its argument into a quoted string constant. More...
 
#define SURGSIM_ASSERT(condition)
 Assert that condition is true. More...
 
#define SURGSIM_FAILURE()
 Report that something very bad has happened and abort program execution. More...
 

Detailed Description

The header that provides the assertion API.

See also
Assertions