X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=CAN-binder%2Flow-can-binding%2Futils%2Fconfig-parser.hpp;h=04531108cfbf3f01c2296697538d3ee51cac50c8;hb=465001c7ef7479e7cfb7af7af180ed6419a5ab49;hp=ce032c9a952117aa5950a3e1aa630dc12d6bd3aa;hpb=dd00a5553e42adb8a14470602e4f25c449287f7d;p=apps%2Flow-level-can-service.git diff --git a/CAN-binder/low-can-binding/utils/config-parser.hpp b/CAN-binder/low-can-binding/utils/config-parser.hpp index ce032c9..0453110 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 > get_devices_name(); };