sudo and doxygen
This commit is contained in:
@@ -6,7 +6,20 @@
|
||||
class config_reader
|
||||
{
|
||||
public:
|
||||
config_reader(std::string);
|
||||
|
||||
/**
|
||||
* @brief config_reader
|
||||
* Generate a objet to extract info to a config file
|
||||
* @param path File path to extract the file
|
||||
*/
|
||||
config_reader(std::string path);
|
||||
/**
|
||||
* @brief get_param
|
||||
* Permit extract a value in a config file
|
||||
* @param variable Name of a field to extract the info
|
||||
* @param value Info extracted
|
||||
* @return True if the field exists, false if not
|
||||
*/
|
||||
bool get_param(std::string variable, std::string &value);
|
||||
private:
|
||||
std::ifstream file;
|
||||
|
||||
Reference in New Issue
Block a user