MCPcopy Create free account
hub / github.com/MyGUI/mygui / getTag

Method getTag

MyGUIEngine/src/MyGUI_LanguageManager.cpp:212–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210 }
211
212 UString LanguageManager::getTag(const UString& _tag) const
213 {
214 MapLanguageString::const_iterator iter = mMapLanguage.find(_tag);
215 if (iter != mMapLanguage.end())
216 {
217 return iter->second;
218 }
219
220 MapLanguageString::const_iterator iterUser = mUserMapLanguage.find(_tag);
221 if (iterUser != mUserMapLanguage.end())
222 {
223 return iterUser->second;
224 }
225
226 return _tag;
227 }
228
229 const std::string& LanguageManager::getCurrentLanguage() const
230 {

Callers 5

notifyGeneratePressedMethod · 0.80
_setSuccessTextFunction · 0.80
showMethod · 0.80
loadMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected