MCPcopy Create free account
hub / github.com/comaps/comaps / GetString

Method GetString

libs/base/strings_bundle.cpp:13–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13std::string const StringsBundle::GetString(std::string const & name) const
14{
15 TStringMap::const_iterator it = m_values.find(name);
16 if (it != m_values.end())
17 return it->second;
18 else
19 {
20 it = m_defValues.find(name);
21 if (it != m_defValues.end())
22 return it->second;
23 }
24 return "";
25}

Callers 15

ToJavaResultFunction · 0.45
OnSearchResultsMethod · 0.45
GetNameMethod · 0.45
operator()Method · 0.45
DebugPrintFunction · 0.45
HighlightResultFunction · 0.45
ResultMethod · 0.45
NameStartsWithMethod · 0.45
UNIT_CLASS_TESTFunction · 0.45
PrintTopResultsFunction · 0.45
ResultViewMethod · 0.45
FeatureInfoDialogMethod · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by 3

NameStartsWithMethod · 0.36
UNIT_CLASS_TESTFunction · 0.36
UNIT_CLASS_TESTFunction · 0.36