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

Method clearUserString

MyGUIEngine/src/MyGUI_WidgetUserData.cpp:33–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31 }
32
33 bool UserData::clearUserString(std::string_view _key)
34 {
35 MapString::iterator iter = mMapUserString.find(_key);
36 if (iter != mMapUserString.end())
37 {
38 mMapUserString.erase(iter);
39 return true;
40 }
41 return false;
42 }
43
44 bool UserData::isUserString(std::string_view _key) const
45 {

Calls 3

findMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected