xmscore  1.0
XmError.cpp File Reference

Functions and macros for assertion and checking for errors. More...

#include <xmscore/misc/XmError.h>
#include <xmscore/misc/boost_defines.h>
#include <cxxtest/TestSuite.h>
#include <xmscore/misc/XmError.t.h>

Go to the source code of this file.

Functions

bool & xms::xmAsserting ()
 Stores whether we want XM_ASSERT to do something or not. More...
 

Variables

int xms::XM0 = 0
 avoid warning
 
int xms::XM1 = 1
 avoid warning
 

Detailed Description

Functions and macros for assertion and checking for errors.

Definition in file XmError.cpp.

Function Documentation

◆ xmAsserting()

bool & xms::xmAsserting ( )

Stores whether we want XM_ASSERT to do something or not.

Returns
Reference to a bool.

Definition at line 32 of file XmError.cpp.

References xms::xmAsserting().

Referenced by XmErrorUnitTests::test_XM_ASSERT(), and xms::xmAsserting().