#include <error_handler.hpp>
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 Handler & | Current (void) |
Private Attributes | |
const Handler | previous |
Definition at line 139 of file error_handler.hpp.
typedef void(* CppAD::ErrorHandler::Handler)(bool, int, const char *, const char *, const char *) |
Definition at line 142 of file error_handler.hpp.
CppAD::ErrorHandler::ErrorHandler | ( | Handler | handler | ) | [inline] |
Definition at line 146 of file error_handler.hpp.
CppAD::ErrorHandler::~ErrorHandler | ( | void | ) | [inline] |
Definition at line 150 of file error_handler.hpp.
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.
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.
static Handler& CppAD::ErrorHandler::Current | ( | void | ) | [inline, static, private] |
Definition at line 207 of file error_handler.hpp.
const Handler CppAD::ErrorHandler::previous [private] |
Definition at line 165 of file error_handler.hpp.