◆ config_reader()
config_reader::config_reader |
( |
std::string |
dir | ) |
|
config_reader Generate a objet to extract info to a config file
- Parameters
-
path | File path to extract the file |
◆ get_param()
bool config_reader::get_param |
( |
std::string |
variable, |
|
|
std::string & |
value |
|
) |
| |
get_param Permit extract a value in a config file
- Parameters
-
variable | Name of a field to extract the info |
value | Info extracted |
- Returns
- True if the field exists, false if not
The documentation for this class was generated from the following files:
- /home/roche/Cosas/C++/ClienteTFG/config_reader.h
- /home/roche/Cosas/C++/ClienteTFG/config_reader.cpp