Static code review fixes.
[apps/low-level-can-service.git] / CAN-binder / low-can-binding / utils / config-parser.hpp
index 28a4341..3115e9b 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <string>
 #include <vector>
+#include <utility>
 #include "ini-config.hpp"
 
 namespace utils
@@ -28,14 +29,16 @@ 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<std::string> get_devices_name();
+               const std::vector<std::pair<std::string, std::string> > get_devices_name();
        };
 }