CppAD::ErrorHandler Class Reference

#include <error_handler.hpp>

List of all members.

Public Types

typedef void(*) Handler (bool, int, const char *, const char *, const char *)

Public Member Functions

 ErrorHandler (Handler handler)
 ~ErrorHandler (void)

Static Public Member Functions

static void Call (bool known, int line, const char *file, const char *exp, const char *msg)

Static Private Member Functions

static void Default (bool known, int line, const char *file, const char *exp, const char *msg)
static HandlerCurrent (void)

Private Attributes

const Handler previous


Detailed Description

Definition at line 139 of file error_handler.hpp.


Member Typedef Documentation

typedef void(*) CppAD::ErrorHandler::Handler(bool, int, const char *, const char *, const char *)

Definition at line 142 of file error_handler.hpp.


Constructor & Destructor Documentation

CppAD::ErrorHandler::ErrorHandler ( Handler  handler  )  [inline]

Definition at line 146 of file error_handler.hpp.

References Current().

CppAD::ErrorHandler::~ErrorHandler ( void   )  [inline]

Definition at line 150 of file error_handler.hpp.

References Current(), and previous.


Member Function Documentation

static void CppAD::ErrorHandler::Call ( bool  known,
int  line,
const char *  file,
const char *  exp,
const char *  msg 
) [inline, static]

Definition at line 154 of file error_handler.hpp.

References Current().

Referenced by CppAD::CondExpOp(), CppAD::EqualOpSeq(), CppAD::GreaterThanOrZero(), CppAD::GreaterThanZero(), CppAD::LessThanOrZero(), and CppAD::LessThanZero().

static void CppAD::ErrorHandler::Default ( bool  known,
int  line,
const char *  file,
const char *  exp,
const char *  msg 
) [inline, static, private]

Definition at line 168 of file error_handler.hpp.

References PACKAGE_STRING.

Referenced by Current().

static Handler& CppAD::ErrorHandler::Current ( void   )  [inline, static, private]

Definition at line 207 of file error_handler.hpp.

References Default().

Referenced by Call(), ErrorHandler(), and ~ErrorHandler().


Member Data Documentation

const Handler CppAD::ErrorHandler::previous [private]

Definition at line 165 of file error_handler.hpp.

Referenced by ~ErrorHandler().


The documentation for this class was generated from the following file:
Generated on Sun Nov 14 14:15:35 2010 for Coin-All by  doxygen 1.4.7