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

Method getUserString

MyGUIEngine/src/MyGUI_WidgetUserData.cpp:20–26  ·  view source on GitHub ↗

Get user string or "" if not found */

Source from the content-addressed store, hash-verified

18
19 /** Get user string or "" if not found */
20 std::string_view UserData::getUserString(std::string_view _key) const
21 {
22 MapString::const_iterator iter = mMapUserString.find(_key);
23 if (iter != mMapUserString.end())
24 return iter->second;
25 return {};
26 }
27
28 const MapString& UserData::getUserStrings() const
29 {

Callers 15

initialiseMethod · 0.80
FindParentPrefixMethod · 0.80
snapToParentMethod · 0.80
BaseGraphConnectionMethod · 0.80
bindEventsMethod · 0.80
OnTextClickMethod · 0.80
KeyboardPanelMethod · 0.80
ConsoleMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by 1

OnInitialiseMethod · 0.64