List of all members
orgQhull::RoadLogEvent Struct Reference

#include <RoadLogEvent.h>

Public Member Functions

Constructors
 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)
 
 ~RoadLogEvent ()
 
GetSet

Default copy constructor and assignment

bool isValid () const
 
int int1 () const
 
int int2 () const
 
float float1 () const
 
const char * format () const
 
const char * cstr1 () const
 
const void * void1 () const
 
long long int64 () const
 
double double1 () const
 
Conversion
std::string toString (const char *tag, int code) const
 

Public Attributes

const char * cstr_1
 One additional argument (for logging) More...
 
double double_1
 signed int64 (i). Ambiguous if unsigned is also defined. More...
 
long long int64_1
 Void* argument (x) – Use upper-case codes for object types. More...
 
const void * void_1
 Cstr argument (s) – type checked at construct-time. More...
 
Fields
const char * format_string
 
int int_1
 Format string (a literal with format codes, for logging) More...
 
int int_2
 Integer argument (d, for logging) More...
 
float float_1
 Integer argument (d, for logging) More...
 
union {
   const char *   cstr_1
 One additional argument (for logging) More...
 
   double   double_1
 signed int64 (i). Ambiguous if unsigned is also defined. More...
 
   long long   int64_1
 Void* argument (x) – Use upper-case codes for object types. More...
 
   const void *   void_1
 Cstr argument (s) – type checked at construct-time. More...
 
}; 
 Float argument (f, for logging) More...
 

Static Private Member Functions

Class helpers
static bool firstExtraCode (std::ostream &os, char c, char *extraCode)
 True if this char is the first extra code. More...
 

Detailed Description

Definition at line 28 of file RoadLogEvent.h.

Constructor & Destructor Documentation

◆ RoadLogEvent() [1/10]

orgQhull::RoadLogEvent::RoadLogEvent ( )
inline

Definition at line 46 of file RoadLogEvent.h.

◆ RoadLogEvent() [2/10]

orgQhull::RoadLogEvent::RoadLogEvent ( const char *  fmt)
inlineexplicit

Definition at line 47 of file RoadLogEvent.h.

◆ RoadLogEvent() [3/10]

orgQhull::RoadLogEvent::RoadLogEvent ( const char *  fmt,
int  d 
)
inline

Definition at line 48 of file RoadLogEvent.h.

◆ RoadLogEvent() [4/10]

orgQhull::RoadLogEvent::RoadLogEvent ( const char *  fmt,
int  d,
int  d2 
)
inline

Definition at line 49 of file RoadLogEvent.h.

◆ RoadLogEvent() [5/10]

orgQhull::RoadLogEvent::RoadLogEvent ( const char *  fmt,
int  d,
int  d2,
float  f 
)
inline

Definition at line 50 of file RoadLogEvent.h.

◆ RoadLogEvent() [6/10]

orgQhull::RoadLogEvent::RoadLogEvent ( const char *  fmt,
int  d,
int  d2,
float  f,
const char *  s 
)
inline

Definition at line 51 of file RoadLogEvent.h.

◆ RoadLogEvent() [7/10]

orgQhull::RoadLogEvent::RoadLogEvent ( const char *  fmt,
int  d,
int  d2,
float  f,
const void *  x 
)
inline

Definition at line 52 of file RoadLogEvent.h.

◆ RoadLogEvent() [8/10]

orgQhull::RoadLogEvent::RoadLogEvent ( const char *  fmt,
int  d,
int  d2,
float  f,
int  i 
)
inline

Definition at line 53 of file RoadLogEvent.h.

◆ RoadLogEvent() [9/10]

orgQhull::RoadLogEvent::RoadLogEvent ( const char *  fmt,
int  d,
int  d2,
float  f,
long long  i 
)
inline

Definition at line 54 of file RoadLogEvent.h.

◆ RoadLogEvent() [10/10]

orgQhull::RoadLogEvent::RoadLogEvent ( const char *  fmt,
int  d,
int  d2,
float  f,
double  g 
)
inline

Definition at line 55 of file RoadLogEvent.h.

◆ ~RoadLogEvent()

orgQhull::RoadLogEvent::~RoadLogEvent ( )
inline

Definition at line 56 of file RoadLogEvent.h.

Member Function Documentation

◆ cstr1()

const char* orgQhull::RoadLogEvent::cstr1 ( ) const
inline

Definition at line 65 of file RoadLogEvent.h.

◆ double1()

double orgQhull::RoadLogEvent::double1 ( ) const
inline

Definition at line 68 of file RoadLogEvent.h.

◆ firstExtraCode()

bool orgQhull::RoadLogEvent::firstExtraCode ( std::ostream &  os,
char  c,
char *  extraCode 
)
staticprivate

True if this char is the first extra code.

Definition at line 112 of file RoadLogEvent.cpp.

◆ float1()

float orgQhull::RoadLogEvent::float1 ( ) const
inline

Definition at line 63 of file RoadLogEvent.h.

◆ format()

const char* orgQhull::RoadLogEvent::format ( ) const
inline

Definition at line 64 of file RoadLogEvent.h.

◆ int1()

int orgQhull::RoadLogEvent::int1 ( ) const
inline

Definition at line 61 of file RoadLogEvent.h.

◆ int2()

int orgQhull::RoadLogEvent::int2 ( ) const
inline

Definition at line 62 of file RoadLogEvent.h.

◆ int64()

long long orgQhull::RoadLogEvent::int64 ( ) const
inline

Definition at line 67 of file RoadLogEvent.h.

◆ isValid()

bool orgQhull::RoadLogEvent::isValid ( ) const
inline

Definition at line 60 of file RoadLogEvent.h.

◆ toString()

string orgQhull::RoadLogEvent::toString ( const char *  tag,
int  code 
) const

Definition at line 29 of file RoadLogEvent.cpp.

◆ void1()

const void* orgQhull::RoadLogEvent::void1 ( ) const
inline

Definition at line 66 of file RoadLogEvent.h.

Member Data Documentation

◆ @24

union { ... }

Float argument (f, for logging)

◆ cstr_1

const char* orgQhull::RoadLogEvent::cstr_1

One additional argument (for logging)

Definition at line 37 of file RoadLogEvent.h.

◆ double_1

double orgQhull::RoadLogEvent::double_1

signed int64 (i). Ambiguous if unsigned is also defined.

Definition at line 40 of file RoadLogEvent.h.

◆ float_1

float orgQhull::RoadLogEvent::float_1

Integer argument (d, for logging)

Definition at line 35 of file RoadLogEvent.h.

◆ format_string

const char* orgQhull::RoadLogEvent::format_string

Definition at line 32 of file RoadLogEvent.h.

◆ int64_1

long long orgQhull::RoadLogEvent::int64_1

Void* argument (x) – Use upper-case codes for object types.

Definition at line 39 of file RoadLogEvent.h.

◆ int_1

int orgQhull::RoadLogEvent::int_1

Format string (a literal with format codes, for logging)

Definition at line 33 of file RoadLogEvent.h.

◆ int_2

int orgQhull::RoadLogEvent::int_2

Integer argument (d, for logging)

Definition at line 34 of file RoadLogEvent.h.

◆ void_1

const void* orgQhull::RoadLogEvent::void_1

Cstr argument (s) – type checked at construct-time.

Definition at line 38 of file RoadLogEvent.h.


The documentation for this struct was generated from the following files:


hpp-fcl
Author(s):
autogenerated on Fri Jan 26 2024 03:46:17