ClienteTFG
Public Member Functions | List of all members
config_reader Class Reference

Public Member Functions

 config_reader (std::string)
 config_reader Generate a objet to extract info to a config file More...
 
bool get_param (std::string variable, std::string &value)
 get_param Permit extract a value in a config file More...
 

Constructor & Destructor Documentation

◆ config_reader()

config_reader::config_reader ( std::string  dir)

config_reader Generate a objet to extract info to a config file

Parameters
pathFile path to extract the file

Member Function Documentation

◆ get_param()

bool config_reader::get_param ( std::string  variable,
std::string &  value 
)

get_param Permit extract a value in a config file

Parameters
variableName of a field to extract the info
valueInfo extracted
Returns
True if the field exists, false if not

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