Defines
AssertionDebug.hpp File Reference
#include <stdlib.h>
#include <iostream>
#include <typeinfo>
#include "ApproxMVBB/Config/Config.hpp"
Include dependency graph for AssertionDebug.hpp:

Go to the source code of this file.

Defines

#define ApproxMVBB_ASSERTMSG(condition, message)   { if(!(condition)){ ApproxMVBB_ERRORMSG(message) } }
 An Assert Macro to use within C++ code.
#define ApproxMVBB_ERRORMSG(message)   ApproxMVBB_THROWEXCEPTION( message )
#define ApproxMVBB_WARNINGMSG(condition, message)   { if(!(condition)){ std::cerr << "WARNING: " << #condition << " : " <<std::endl<< message << std::endl << " @ " << __FILE__ << " (" << __LINE__ << ")" << std::endl;} }

Define Documentation

#define ApproxMVBB_ASSERTMSG (   condition,
  message 
)    { if(!(condition)){ ApproxMVBB_ERRORMSG(message) } }

An Assert Macro to use within C++ code.

Parameters:
conditionThe condition which needs to be truem otherwise an assertion is thrown!

Definition at line 26 of file AssertionDebug.hpp.

#define ApproxMVBB_ERRORMSG (   message)    ApproxMVBB_THROWEXCEPTION( message )

Definition at line 32 of file AssertionDebug.hpp.

#define ApproxMVBB_WARNINGMSG (   condition,
  message 
)    { if(!(condition)){ std::cerr << "WARNING: " << #condition << " : " <<std::endl<< message << std::endl << " @ " << __FILE__ << " (" << __LINE__ << ")" << std::endl;} }

Definition at line 31 of file AssertionDebug.hpp.



asr_approx_mvbb
Author(s): Gassner Nikolai
autogenerated on Sat Jun 8 2019 20:21:50