18 #ifndef __H__OCULAR_UTILITIES_CONFIG__H__
19 #define __H__OCULAR_UTILITIES_CONFIG__H__
21 #include "FileIO/File.hpp"
24 #include <unordered_map>
97 std::string
get(std::string
const& option)
const;
105 void set(std::string
const& option, std::string
const& value);
109 bool isValidReadFile(
Core::File const& file)
const;
110 bool isValidWriteFile(
Core::File const& file)
const;
116 std::unordered_map<std::string, std::string> m_ConfigOptions;
void setFile(Core::File const &file)
Definition: Config.cpp:117
bool read()
Definition: Config.cpp:46
bool write()
Definition: Config.cpp:81
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
void set(std::string const &option, std::string const &value)
Definition: Config.cpp:135
Definition: Config.hpp:61