1 #ifndef __CONFIGMANAGER_H
2 #define __CONFIGMANAGER_H
9 #define CONFIGMANAGER ConfigManager::getInstance()
14 const Json::Value &
operator[](
const std::string & value_name)
const;
24 void init(
const std::list<std::string> & config_files);
25 std::list<Json::Value> roots;
27 const Json::Value & getValue(
const Json::Value & root,
const std::string & name)
const;
29 #endif // __CONFIGMANAGER_H
void addConfigDir(const std::string &dirname)
void addConfigFile(const std::string &filename)
const Json::Value & operator[](const std::string &value_name) const
static ConfigManager & getInstance()