#include <RoadLogEvent.h>
Public Member Functions | |
const char * | cstr1 () const |
double | double1 () const |
float | float1 () const |
const char * | format () const |
int | int1 () const |
int | int2 () const |
long long | int64 () const |
bool | isDefined () const |
Default copy constructor and assignment. | |
RoadLogEvent () | |
RoadLogEvent (const char *fmt) | |
RoadLogEvent (const char *fmt, int d) | |
RoadLogEvent (const char *fmt, int d, int d2) | |
RoadLogEvent (const char *fmt, int d, int d2, float f) | |
RoadLogEvent (const char *fmt, int d, int d2, float f, const char *s) | |
RoadLogEvent (const char *fmt, int d, int d2, float f, const void *x) | |
RoadLogEvent (const char *fmt, int d, int d2, float f, int i) | |
RoadLogEvent (const char *fmt, int d, int d2, float f, long long i) | |
RoadLogEvent (const char *fmt, int d, int d2, float f, double g) | |
const void * | void1 () const |
~RoadLogEvent () | |
Public Attributes | |
union { | |
const char * cstr_1 | |
One additional argument (for logging) | |
double double_1 | |
signed int64 (i). Ambiguous if unsigned is also defined. | |
long long int64_1 | |
Void* argument (x) -- Use upper-case codes for object types. | |
const void * void_1 | |
Cstr argument (s) -- type checked at construct-time. | |
}; | |
Float argument (f, for logging) | |
float | float_1 |
Integer argument (d, for logging) | |
const char * | format_string |
int | int_1 |
Format string (a literal with format codes, for logging) | |
int | int_2 |
Integer argument (d, for logging) | |
Conversion | |
std::string | toString (const char *tag, int code) const |
static bool | firstExtraCode (std::ostream &os, char c, char *extraCode) |
True if this char is the first extra code. |
Definition at line 22 of file RoadLogEvent.h.
orgQhull::RoadLogEvent::RoadLogEvent | ( | ) | [inline] |
Definition at line 40 of file RoadLogEvent.h.
orgQhull::RoadLogEvent::RoadLogEvent | ( | const char * | fmt | ) | [inline, explicit] |
Definition at line 41 of file RoadLogEvent.h.
orgQhull::RoadLogEvent::RoadLogEvent | ( | const char * | fmt, |
int | d | ||
) | [inline] |
Definition at line 42 of file RoadLogEvent.h.
orgQhull::RoadLogEvent::RoadLogEvent | ( | const char * | fmt, |
int | d, | ||
int | d2 | ||
) | [inline] |
Definition at line 43 of file RoadLogEvent.h.
orgQhull::RoadLogEvent::RoadLogEvent | ( | const char * | fmt, |
int | d, | ||
int | d2, | ||
float | f | ||
) | [inline] |
Definition at line 44 of file RoadLogEvent.h.
orgQhull::RoadLogEvent::RoadLogEvent | ( | const char * | fmt, |
int | d, | ||
int | d2, | ||
float | f, | ||
const char * | s | ||
) | [inline] |
Definition at line 45 of file RoadLogEvent.h.
orgQhull::RoadLogEvent::RoadLogEvent | ( | const char * | fmt, |
int | d, | ||
int | d2, | ||
float | f, | ||
const void * | x | ||
) | [inline] |
Definition at line 46 of file RoadLogEvent.h.
orgQhull::RoadLogEvent::RoadLogEvent | ( | const char * | fmt, |
int | d, | ||
int | d2, | ||
float | f, | ||
int | i | ||
) | [inline] |
Definition at line 47 of file RoadLogEvent.h.
orgQhull::RoadLogEvent::RoadLogEvent | ( | const char * | fmt, |
int | d, | ||
int | d2, | ||
float | f, | ||
long long | i | ||
) | [inline] |
Definition at line 48 of file RoadLogEvent.h.
orgQhull::RoadLogEvent::RoadLogEvent | ( | const char * | fmt, |
int | d, | ||
int | d2, | ||
float | f, | ||
double | g | ||
) | [inline] |
Definition at line 49 of file RoadLogEvent.h.
orgQhull::RoadLogEvent::~RoadLogEvent | ( | ) | [inline] |
Definition at line 50 of file RoadLogEvent.h.
const char* orgQhull::RoadLogEvent::cstr1 | ( | ) | const [inline] |
Definition at line 59 of file RoadLogEvent.h.
double orgQhull::RoadLogEvent::double1 | ( | ) | const [inline] |
Definition at line 62 of file RoadLogEvent.h.
bool orgQhull::RoadLogEvent::firstExtraCode | ( | std::ostream & | os, |
char | c, | ||
char * | extraCode | ||
) | [static, private] |
True if this char is the first extra code.
Definition at line 112 of file RoadLogEvent.cpp.
float orgQhull::RoadLogEvent::float1 | ( | ) | const [inline] |
Definition at line 57 of file RoadLogEvent.h.
const char* orgQhull::RoadLogEvent::format | ( | ) | const [inline] |
Definition at line 58 of file RoadLogEvent.h.
int orgQhull::RoadLogEvent::int1 | ( | ) | const [inline] |
Definition at line 55 of file RoadLogEvent.h.
int orgQhull::RoadLogEvent::int2 | ( | ) | const [inline] |
Definition at line 56 of file RoadLogEvent.h.
long long orgQhull::RoadLogEvent::int64 | ( | ) | const [inline] |
Definition at line 61 of file RoadLogEvent.h.
bool orgQhull::RoadLogEvent::isDefined | ( | ) | const [inline] |
Default copy constructor and assignment.
Definition at line 54 of file RoadLogEvent.h.
string orgQhull::RoadLogEvent::toString | ( | const char * | tag, |
int | code | ||
) | const |
Definition at line 29 of file RoadLogEvent.cpp.
const void* orgQhull::RoadLogEvent::void1 | ( | ) | const [inline] |
Definition at line 60 of file RoadLogEvent.h.
union { ... } |
Float argument (f, for logging)
const char* orgQhull::RoadLogEvent::cstr_1 |
One additional argument (for logging)
Definition at line 31 of file RoadLogEvent.h.
signed int64 (i). Ambiguous if unsigned is also defined.
Definition at line 34 of file RoadLogEvent.h.
Integer argument (d, for logging)
Definition at line 29 of file RoadLogEvent.h.
const char* orgQhull::RoadLogEvent::format_string |
Definition at line 26 of file RoadLogEvent.h.
long long orgQhull::RoadLogEvent::int64_1 |
Void* argument (x) -- Use upper-case codes for object types.
Definition at line 33 of file RoadLogEvent.h.
Format string (a literal with format codes, for logging)
Definition at line 27 of file RoadLogEvent.h.
Integer argument (d, for logging)
Definition at line 28 of file RoadLogEvent.h.
const void* orgQhull::RoadLogEvent::void_1 |
Cstr argument (s) -- type checked at construct-time.
Definition at line 32 of file RoadLogEvent.h.