/home/coin/svn-release/OptimizationSuite-1.1.0/CoinUtils/src/CoinError.hpp File Reference

#include <string>
#include <iostream>
#include <cassert>
#include <cstring>
#include "CoinPragma.hpp"
Include dependency graph for CoinError.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CoinError
 Error Class thrown by an exception. More...

Defines

#define __STRING(x)   #x
#define __GNUC_PREREQ(maj, min)   (0)
#define CoinAssertDebug(expression)   assert(expression)
#define CoinAssertDebugHint(expression, hint)   assert(expression)
#define CoinAssert(expression)   assert(expression)
#define CoinAssertHint(expression, hint)   assert(expression)

Functions

void CoinErrorUnitTest ()
 A function that tests the methods in the CoinError class.

Define Documentation

#define __STRING (  )     #x

Definition at line 161 of file CoinError.hpp.

#define __GNUC_PREREQ ( maj,
min   )     (0)

Definition at line 165 of file CoinError.hpp.

#define CoinAssertDebug ( expression   )     assert(expression)

Definition at line 169 of file CoinError.hpp.

#define CoinAssertDebugHint ( expression,
hint   )     assert(expression)

Definition at line 170 of file CoinError.hpp.

#define CoinAssert ( expression   )     assert(expression)

Definition at line 171 of file CoinError.hpp.

#define CoinAssertHint ( expression,
hint   )     assert(expression)

Definition at line 172 of file CoinError.hpp.


Function Documentation

void CoinErrorUnitTest (  ) 

A function that tests the methods in the CoinError class.

The only reason for it not to be a member method is that this way it doesn't have to be compiled into the library. And that's a gain, because the library should be compiled with optimization on, but this method should be compiled with debugging.


Generated on 15 Mar 2015 for Coin-All by  doxygen 1.6.1