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

Method createChild

MyGUIEngine/src/MyGUI_XmlDocument.cpp:218–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216 }
217
218 ElementPtr Element::createChild(std::string_view _name, std::string_view _content, ElementType _type)
219 {
220 return mChildren.emplace_back(std::make_unique<Element>(_name, this, _type, _content)).get();
221 }
222
223 void Element::removeChild(ElementPtr _child)
224 {

Callers 12

serializationMethod · 0.80
saveToFileMethod · 0.80
loadOldFontFormatMethod · 0.80
loadOldPointerFormatMethod · 0.80
parseTagMethod · 0.80
serialisePropertyMethod · 0.80
serialiseWidgetMethod · 0.80
addItemToProjectMethod · 0.80
addPropertyFunction · 0.80
addCodeFunction · 0.80
generateFontManualXmlMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected