ergo
DebugPolicies.h File Reference

Classes describing debug policies with different debug levels. More...

#include <cstdlib>

Go to the source code of this file.

Classes

class  mat::DebugLevelHigh
 
class  mat::DebugLevelMedium
 
class  mat::DebugLevelLow
 

Namespaces

 mat
 

Macros

#define ASSERTALWAYS(x)   this->assertAlways(__FILE__, __LINE__, __ID__,x)
 
#define ASSERTDEBUG(x)   this->assertDebug(__FILE__, __LINE__, __ID__,x)
 

Detailed Description

Classes describing debug policies with different debug levels.

Choice of a higher level gives more tests that the program executes as expected but at a higher memory and time cost. Normal execution runs at "DebugLevelLow".

Copyright(c) Emanuel Rubensson 2007

Author
Emanuel Rubensson
Date
January 2007

Macro Definition Documentation

◆ ASSERTALWAYS

#define ASSERTALWAYS (   x)    this->assertAlways(__FILE__, __LINE__, __ID__,x)

◆ ASSERTDEBUG

#define ASSERTDEBUG (   x)    this->assertDebug(__FILE__, __LINE__, __ID__,x)