1 #ifndef BITES_CONFIG_HPP_INCLUDED
2 #define BITES_CONFIG_HPP_INCLUDED
50 Config(
const std::string& fname=
"");
55 bool load(
const std::string& fname);
59 void save(
const std::string& fname)
const;
63 std::string&
operator[](
const std::string& key);
73 std::vector<std::string>
keys();
77 typedef std::map<std::string, std::string> DataType;
83 #endif // BITES_CONFIG_HPP_INCLUDED
bool load(const std::string &fname)
Definition: Config.cpp:26
void save(const std::string &fname) const
Definition: Config.cpp:87
friend std::ostream & operator<<(std::ostream &out, const Config &config)
Definition: Config.cpp:99
Config(const std::string &fname="")
Definition: Config.cpp:18
std::string & operator[](const std::string &key)
Definition: Config.cpp:94
std::vector< std::string > keys()
Definition: Config.cpp:112
Definition: Config.hpp:45