#include <RoadError.h>
Public Member Functions | |
int | errorCode () const |
bool | isDefined () const |
void | logError () const |
Log error instead of throwing it. | |
RoadError & | operator= (const RoadError &other) |
RoadError () | |
May be replaced with any ostream object. | |
RoadError (const RoadError &other) | |
RoadError (int code, const std::string &message) | |
Called on throw, generates error_message. | |
RoadError (int code, const char *fmt) | |
RoadError (int code, const char *fmt, int d) | |
RoadError (int code, const char *fmt, int d, int d2) | |
RoadError (int code, const char *fmt, int d, int d2, float f) | |
RoadError (int code, const char *fmt, int d, int d2, float f, const char *s) | |
RoadError (int code, const char *fmt, int d, int d2, float f, const void *x) | |
RoadError (int code, const char *fmt, int d, int d2, float f, int i) | |
RoadError (int code, const char *fmt, int d, int d2, float f, long long i) | |
RoadError (int code, const char *fmt, int d, int d2, float f, double e) | |
RoadLogEvent | roadLogEvent () const |
virtual const char * | what () const throw () |
~RoadError () throw () | |
Static Public Member Functions | |
static void | clearGlobalLog () |
static bool | emptyGlobalLog () |
static const char * | stringGlobalLog () |
Private Attributes | |
int | error_code |
std::string | error_message |
Format string w/ arguments. | |
RoadLogEvent | log_event |
Non-zero code (not logged), maybe returned as program status. | |
Static Private Attributes | |
static std::ostringstream | global_log |
static const char * | ROADtag = "QH" |
Formated error message. Must be after log_event. |
Definition at line 29 of file RoadError.h.
May be replaced with any ostream object.
Definition at line 40 of file RoadError.cpp.
orgQhull::RoadError::RoadError | ( | const RoadError & | other | ) |
Definition at line 47 of file RoadError.cpp.
orgQhull::RoadError::RoadError | ( | int | code, |
const std::string & | message | ||
) |
Called on throw, generates error_message.
Definition at line 55 of file RoadError.cpp.
orgQhull::RoadError::RoadError | ( | int | code, |
const char * | fmt | ||
) |
Definition at line 64 of file RoadError.cpp.
orgQhull::RoadError::RoadError | ( | int | code, |
const char * | fmt, | ||
int | d | ||
) |
Definition at line 71 of file RoadError.cpp.
orgQhull::RoadError::RoadError | ( | int | code, |
const char * | fmt, | ||
int | d, | ||
int | d2 | ||
) |
Definition at line 78 of file RoadError.cpp.
orgQhull::RoadError::RoadError | ( | int | code, |
const char * | fmt, | ||
int | d, | ||
int | d2, | ||
float | f | ||
) |
Definition at line 85 of file RoadError.cpp.
orgQhull::RoadError::RoadError | ( | int | code, |
const char * | fmt, | ||
int | d, | ||
int | d2, | ||
float | f, | ||
const char * | s | ||
) |
Definition at line 92 of file RoadError.cpp.
orgQhull::RoadError::RoadError | ( | int | code, |
const char * | fmt, | ||
int | d, | ||
int | d2, | ||
float | f, | ||
const void * | x | ||
) |
Definition at line 99 of file RoadError.cpp.
orgQhull::RoadError::RoadError | ( | int | code, |
const char * | fmt, | ||
int | d, | ||
int | d2, | ||
float | f, | ||
int | i | ||
) |
Definition at line 106 of file RoadError.cpp.
orgQhull::RoadError::RoadError | ( | int | code, |
const char * | fmt, | ||
int | d, | ||
int | d2, | ||
float | f, | ||
long long | i | ||
) |
Definition at line 113 of file RoadError.cpp.
orgQhull::RoadError::RoadError | ( | int | code, |
const char * | fmt, | ||
int | d, | ||
int | d2, | ||
float | f, | ||
double | e | ||
) |
Definition at line 120 of file RoadError.cpp.
orgQhull::RoadError::~RoadError | ( | ) | throw () [inline] |
Definition at line 59 of file RoadError.h.
static void orgQhull::RoadError::clearGlobalLog | ( | ) | [inline, static] |
Definition at line 63 of file RoadError.h.
static bool orgQhull::RoadError::emptyGlobalLog | ( | ) | [inline, static] |
Definition at line 64 of file RoadError.h.
int orgQhull::RoadError::errorCode | ( | ) | const [inline] |
Definition at line 72 of file RoadError.h.
bool orgQhull::RoadError::isDefined | ( | ) | const [inline] |
Definition at line 71 of file RoadError.h.
void orgQhull::RoadError::logError | ( | ) | const |
Log error instead of throwing it.
Definition at line 149 of file RoadError.cpp.
Definition at line 127 of file RoadError.cpp.
RoadLogEvent orgQhull::RoadError::roadLogEvent | ( | ) | const [inline] |
Definition at line 74 of file RoadError.h.
static const char* orgQhull::RoadError::stringGlobalLog | ( | ) | [inline, static] |
Definition at line 65 of file RoadError.h.
const char * orgQhull::RoadError::what | ( | ) | const throw () [virtual] |
Definition at line 137 of file RoadError.cpp.
int orgQhull::RoadError::error_code [private] |
Definition at line 33 of file RoadError.h.
std::string orgQhull::RoadError::error_message [mutable, private] |
Format string w/ arguments.
Definition at line 35 of file RoadError.h.
std::ostringstream orgQhull::RoadError::global_log [static, private] |
Definition at line 39 of file RoadError.h.
RoadLogEvent orgQhull::RoadError::log_event [private] |
Non-zero code (not logged), maybe returned as program status.
Definition at line 34 of file RoadError.h.
const char * orgQhull::RoadError::ROADtag = "QH" [static, private] |
Formated error message. Must be after log_event.
Identifies error messages from Qhull and Road for web searches. See QhullError.h::QHULLlastError and user.h::MSG_ERROR
Definition at line 38 of file RoadError.h.