13 Config(
const std::map<std::string, std::string> &config);
15 static Config *load(
const std::string &path);
16 bool save(
const std::string &path)
const;
18 void beginGroup(
const std::string &group);
24 bool containsKey(
const std::string &key)
const;
26 bool boolValue(
const std::string &key)
const;
27 int intValue(
const std::string &key)
const;
28 double doubleValue(
const std::string &key)
const;
29 std::string stringValue(
const std::string &key)
const;
31 void setValue(
const std::string &key,
const bool &value);
32 void setValue(
const std::string &key,
const int &value);
33 void setValue(
const std::string &key,
const double &value);
34 void setValue(
const std::string &key,
const char *value);
35 void setValue(
const std::string &key,
const std::string &value);
38 void addValues(
const Config &config);
41 std::string safeKey(std::string key)
const;
42 std::string group()
const;
44 std::map<std::string, std::string> m_config;
45 std::vector<std::string> m_groups;
46 mutable std::string m_cachedGroup;
#define EXPORT_SYM
Definition: export.h:7