Orxonox: src/util/OrxAssert.h File Reference

# OrxAssert.h File Reference

Declaration of custom assertion facilities. More...

`#include "UtilPrereqs.h"`
`#include <cassert>`
`#include "OutputHandler.h"`

## Defines

#define | OrxAssert(Assertion, ErrorMessage)

## Detailed Description

Declaration of custom assertion facilities.

## Define Documentation

#define OrxAssert | ( | Assertion,
|  | ErrorMessage |  | ) |

Value:

    Assertion ? ((void)0) : (void)(orxonox::OutputHandler::getOutStream().setOutputLevel(1) << ErrorMessage << std::endl); \
        assert(Assertion)

Referenced by orxonox::CommandLine::_parse(), orxonox::CommandLine::addArgument(), orxonox::CEGUILogger::logEvent(), orxonox::WorldEntityCollisionShape::parentChanged(), orxonox::XMLPortClassParamContainer< T >::port(), orxonox::StaticEntity::setWorldTransform(), orxonox::GameState::~GameState(), and orxonox::WorldEntity::~WorldEntity().