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

Method removeChild

MyGUIEngine/src/MyGUI_XmlDocument.cpp:223–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221 }
222
223 void Element::removeChild(ElementPtr _child)
224 {
225 for (auto iter = mChildren.begin(); iter != mChildren.end(); ++iter)
226 {
227 if (iter->get() == _child)
228 {
229 mChildren.erase(iter);
230 break;
231 }
232 }
233 }
234
235 void Element::clear()
236 {

Callers

nothing calls this directly

Calls 4

beginMethod · 0.45
endMethod · 0.45
getMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected