4 #include <unordered_map> 12 typedef std::unordered_map<std::string, std::string>::const_iterator ConstMapIterator;
13 typedef std::unordered_map<std::string, std::string> PropertiesMap;
19 bool IsLoaded()
const;
20 bool LoadFile(
const std::string& file_name);
24 bool Read(
const std::string& key, std::function<
void(
const std::string& v)> convert);
25 bool ReadInt(
const std::string& key,
int& value);
26 bool ReadFloat(
const std::string& key,
float& value);
27 bool ReadString(
const std::string& key, std::string& value);
30 PropertiesMap properties_;
Definition: sc2_action.h:9
Definition: sc2_property_reader.h:9