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

Method clearUserData

Tools/LayoutEditor/WidgetContainer.cpp:89–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87 }
88
89 void WidgetContainer::clearUserData(std::string_view _key)
90 {
91 for (MyGUI::VectorStringPairs::iterator item = mUserString.begin(); item != mUserString.end(); ++item)
92 {
93 if ((*item).first == _key)
94 {
95 mUserString.erase(item);
96 break;
97 }
98 }
99 }
100
101 bool WidgetContainer::existUserData(std::string_view _key) const
102 {

Callers 4

notifyDeleteUserDataMethod · 0.80
notifyUpdateUserDataMethod · 0.80
notifyActionTemplateMethod · 0.80
findWidgetSelectedMethod · 0.80

Calls 3

beginMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected