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

Method clearProperty

Tools/LayoutEditor/WidgetContainer.cpp:147–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145 }
146
147 void WidgetContainer::clearProperty(std::string_view _key)
148 {
149 for (MyGUI::VectorStringPairs::iterator item = mProperty.begin(); item != mProperty.end(); ++item)
150 {
151 if ((*item).first == _key)
152 {
153 mProperty.erase(item);
154 break;
155 }
156 }
157 }
158
159 bool WidgetContainer::existProperty(std::string_view _key) const
160 {

Callers 2

setContainerPropertyMethod · 0.80
notifyActionMethod · 0.80

Calls 3

beginMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected