All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes
orgQhull::RoadError Class Reference

#include <RoadError.h>

Inheritance diagram for orgQhull::RoadError:
Inheritance graph
[legend]

List of all members.

Public Member Functions

int errorCode () const
bool isDefined () const
void logError () const
 Log error instead of throwing it.
RoadErroroperator= (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.

Detailed Description

Definition at line 29 of file RoadError.h.


Constructor & Destructor Documentation

May be replaced with any ostream object.

Definition at line 40 of file RoadError.cpp.

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.


Member Function Documentation

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.

Log error instead of throwing it.

Definition at line 149 of file RoadError.cpp.

RoadError & orgQhull::RoadError::operator= ( const RoadError other)

Definition at line 127 of file RoadError.cpp.

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.


Member Data Documentation

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.

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


libqhull
Author(s): Robert Krug
autogenerated on Tue Jun 18 2013 12:38:50