| 99 | } |
| 100 | |
| 101 | std::string ConfigurationParser::GetString(const std::string& key, const std::string& defaultValue) const |
| 102 | { |
| 103 | auto v = entries.find(key); |
| 104 | if (v == entries.end()) return defaultValue; |
| 105 | return v->second; |
| 106 | } |
| 107 | |
| 108 | int ConfigurationParser::GetInt(const std::string& key, int defaultValue) const |
| 109 | { |