Defines an entry in the configuration file.
More...
|
| | CfgInfoTy (const char *_tag, int *pv) |
| |
| | CfgInfoTy (const char *_tag, int &v) |
| |
| | CfgInfoTy (const char *_tag, bool &v) |
| |
| | CfgInfoTy (const char *_tag, std::string &v) |
| |
| void | LoadVal (const std::string &val) |
| | Load a given config value into the right variable using the right type. More...
|
| |
| std::string | GetCfgLine () const |
| | Return a full config string to be stored into the config file, including tag and CR. More...
|
| |
|
| const char * | tag = nullptr |
| | name of the config entry in the config file More...
|
| |
| int * | pInt = nullptr |
| | points to integer variable taking the value More...
|
| |
| bool * | pBool = nullptr |
| | points to boolean variable taking the value More...
|
| |
| std::string * | pStr = nullptr |
| | points to string variable taking the value More...
|
| |
Defines an entry in the configuration file.
◆ CfgInfoTy() [1/4]
| CfgInfoTy::CfgInfoTy |
( |
const char * |
_tag, |
|
|
int * |
pv |
|
) |
| |
|
inline |
◆ CfgInfoTy() [2/4]
| CfgInfoTy::CfgInfoTy |
( |
const char * |
_tag, |
|
|
int & |
v |
|
) |
| |
|
inline |
◆ CfgInfoTy() [3/4]
| CfgInfoTy::CfgInfoTy |
( |
const char * |
_tag, |
|
|
bool & |
v |
|
) |
| |
|
inline |
◆ CfgInfoTy() [4/4]
| CfgInfoTy::CfgInfoTy |
( |
const char * |
_tag, |
|
|
std::string & |
v |
|
) |
| |
|
inline |
◆ GetCfgLine()
| std::string CfgInfoTy::GetCfgLine |
( |
| ) |
const |
|
inline |
Return a full config string to be stored into the config file, including tag and CR.
◆ LoadVal()
| void CfgInfoTy::LoadVal |
( |
const std::string & |
val | ) |
|
|
inline |
Load a given config value into the right variable using the right type.
◆ pBool
| bool* CfgInfoTy::pBool = nullptr |
points to boolean variable taking the value
◆ pInt
| int* CfgInfoTy::pInt = nullptr |
points to integer variable taking the value
◆ pStr
| std::string* CfgInfoTy::pStr = nullptr |
points to string variable taking the value
◆ tag
| const char* CfgInfoTy::tag = nullptr |
name of the config entry in the config file
The documentation for this class was generated from the following file: