Cat
|
#include <inc/var.h>
Public Types | |
enum | Type { UNKNOWN, CHAR, INT, FLOAT, DOUBLE, STRING } |
Public Member Functions | |
var () | |
Standard constructor. More... | |
var (char) | |
var (int) | |
var (float) | |
var (double) | |
var (std::string) | |
virtual | ~var () |
Destructor. More... | |
char | vchar () |
int | vint () |
float | vfloat () |
double | vdouble () |
std::string | vstring () |
std::vector< var > | vector (const char *,...) |
Private Member Functions | |
void | verbose (std::string msg) |
void | debug (std::string msg) |
void | info (std::string msg) |
void | warning (std::string msg) |
void | fatal (std::string msg) |
void | verbose (std::string msg, std::string name) |
void | debug (std::string msg, std::string name) |
void | info (std::string msg, std::string name) |
void | warning (std::string msg, std::string name) |
void | fatal (std::string msg, std::string name) |
Private Attributes | |
char | m_char |
int | m_type |
int | m_int |
float | m_float |
double | m_double |
std::string | m_string |
MsgSvc | m_log |
enum var::Type |
var::var | ( | ) |
var::var | ( | char | ch | ) |
var::var | ( | int | i | ) |
var::var | ( | float | f | ) |
var::var | ( | double | d | ) |
var::var | ( | std::string | str | ) |
|
inlineprivate |
Definition at line 61 of file var.h.
References MsgSvc::DEBUG, and MsgSvc::msgSvc().
|
inlineprivate |
Definition at line 67 of file var.h.
References MsgSvc::DEBUG, and MsgSvc::msgSvc().
|
inlineprivate |
Definition at line 64 of file var.h.
References MsgSvc::FATAL, and MsgSvc::msgSvc().
|
inlineprivate |
Definition at line 70 of file var.h.
References MsgSvc::FATAL, and MsgSvc::msgSvc().
|
inlineprivate |
Definition at line 62 of file var.h.
References MsgSvc::INFO, and MsgSvc::msgSvc().
|
inlineprivate |
Definition at line 68 of file var.h.
References MsgSvc::INFO, and MsgSvc::msgSvc().
|
inline |
|
inline |
std::vector< var > var::vector | ( | const char * | format, |
... | |||
) |
|
inlineprivate |
Definition at line 60 of file var.h.
References MsgSvc::msgSvc(), and MsgSvc::VERBOSE.
|
inlineprivate |
Definition at line 66 of file var.h.
References MsgSvc::msgSvc(), and MsgSvc::VERBOSE.
|
inline |
|
inline |
|
inline |
|
inlineprivate |
Definition at line 63 of file var.h.
References MsgSvc::msgSvc(), and MsgSvc::WARNING.
|
inlineprivate |
Definition at line 69 of file var.h.
References MsgSvc::msgSvc(), and MsgSvc::WARNING.
|
private |
|
private |