ServidorTFG
config_reader.h
1 #ifndef CONFIG_READER_H
2 #define CONFIG_READER_H
3 #include <string>
4 #include <fstream>
5 
7 {
8 public:
9 
15  config_reader(std::string path);
23  bool get_param(std::string variable, std::string &value);
24 private:
25  std::ifstream file;
26 };
27 
28 #endif // CONFIG_READER_H
config_reader::get_param
bool get_param(std::string variable, std::string &value)
get_param Permit extract a value in a config file
Definition: config_reader.cpp:10
config_reader
Definition: config_reader.h:6
config_reader::config_reader
config_reader(std::string path)
config_reader Generate a objet to extract info to a config file
Definition: config_reader.cpp:3