4 #include <unordered_map> 10 typedef std::unordered_map<std::string, std::string>::const_iterator ConstMapIterator;
11 typedef std::unordered_map<std::string, std::string> PropertiesMap;
17 bool IsLoaded()
const;
18 bool LoadFile(
const std::string& file_name);
22 bool Read(
const std::string& key, std::function<
void(
const std::string& v)> convert);
23 bool ReadInt(
const std::string& key,
int& value);
24 bool ReadFloat(
const std::string& key,
float& value);
25 bool ReadString(
const std::string& key, std::string& value);
28 PropertiesMap properties_;
Definition: property_reader.h:7