MCPcopy Create free account
hub / github.com/Persper/code-analytics / GetString

Method GetString

test/cpp_test_repo/D/TextFileParsers.cpp:101–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101std::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
108int ConfigurationParser::GetInt(const std::string& key, int defaultValue) const
109{

Callers

nothing calls this directly

Calls 1

endMethod · 0.45

Tested by

no test coverage detected