aboutsummaryrefslogtreecommitdiffstats
path: root/CAN-binder/low-can-binding/utils/config-parser.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'CAN-binder/low-can-binding/utils/config-parser.hpp')
-rw-r--r--CAN-binder/low-can-binding/utils/config-parser.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/CAN-binder/low-can-binding/utils/config-parser.hpp b/CAN-binder/low-can-binding/utils/config-parser.hpp
index ce032c9a..04531108 100644
--- a/CAN-binder/low-can-binding/utils/config-parser.hpp
+++ b/CAN-binder/low-can-binding/utils/config-parser.hpp
@@ -29,6 +29,7 @@ namespace utils
class config_parser_t
{
private:
+ const std::string filepath_; /*!< filepath_ - Path to the config file*/
ini_config config_content_; /*!< config_content_ - Parsed content of INI file.*/
public:
@@ -36,6 +37,7 @@ namespace utils
config_parser_t(const config_parser_t&) = default;
config_parser_t(std::string conf_file);
+ const std::string& filepath() const;
bool check_conf();
const std::vector<std::pair<std::string, std::string> > get_devices_name();
};