#ifndef INI_PARSER_HPP #define INI_PARSER_HPP #include #include #include class INIParser { public: INIParser(); INIParser(const std::string& filename); void parse(); std::string getValue(const std::string& section, const std::string& key); std::string getKey(const std::string& section); std::string getSection(); ~INIParser(); private: std::ifstream m_file; std::map> m_sections; void m_deleteSpace(std::string& line); }; #endif // INI_PARSER_HPP