/home/coin/svn-release/OptimizationSuite-1.1.0/cppad/cppad/local/cppad_assert.hpp File Reference

#include <cassert>
#include <iostream>
#include <cppad/config.h>
#include <cppad/error_handler.hpp>
Include dependency graph for cppad_assert.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define CPPAD_ASSERT_KNOWN(exp, msg)
#define CPPAD_ASSERT_UNKNOWN(exp)

Define Documentation

#define CPPAD_ASSERT_KNOWN ( exp,
msg   ) 
Value:
{       if( ! ( exp ) )                         \
        ErrorHandler::Call(                     \
                true       ,                    \
                __LINE__   ,                    \
                __FILE__   ,                    \
                #exp       ,                    \
                msg        );                   \
}

Definition at line 96 of file cppad_assert.hpp.

#define CPPAD_ASSERT_UNKNOWN ( exp   ) 
Value:
{       if( ! ( exp ) )                         \
        ErrorHandler::Call(                     \
                false      ,                    \
                __LINE__   ,                    \
                __FILE__   ,                    \
                #exp       ,                    \
                ""         );                   \
}

Definition at line 110 of file cppad_assert.hpp.


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