X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=CAN-binder%2Flow-can-binding%2Futils%2Fconfig-parser.hpp;h=3115e9bd953fef2dfbfa285909304562b6b167e3;hb=7747851ca010a3dfe9ffee808376dd5a7af68b91;hp=ce032c9a952117aa5950a3e1aa630dc12d6bd3aa;hpb=452ab62dae573efc3a2d5a5d97c2f10fca5f502d;p=apps%2Fagl-service-can-low-level.git diff --git a/CAN-binder/low-can-binding/utils/config-parser.hpp b/CAN-binder/low-can-binding/utils/config-parser.hpp index ce032c9a..3115e9bd 100644 --- a/CAN-binder/low-can-binding/utils/config-parser.hpp +++ b/CAN-binder/low-can-binding/utils/config-parser.hpp @@ -29,13 +29,15 @@ 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: config_parser_t(config_parser_t&&) = default; config_parser_t(const config_parser_t&) = default; - config_parser_t(std::string conf_file); + explicit config_parser_t(std::string conf_file); + const std::string& filepath() const; bool check_conf(); const std::vector > get_devices_name(); };