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

Method createRoot

MyGUIEngine/src/MyGUI_XmlDocument.cpp:827–832  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

825 }
826
827 ElementPtr Document::createRoot(std::string_view _name)
828 {
829 clearRoot();
830 mRoot = std::make_unique<Element>(_name, nullptr, ElementType::Normal);
831 return mRoot.get();
832 }
833
834 bool Document::parseLine(std::string& _line, ElementPtr& _element)
835 {

Callers 7

saveToFileMethod · 0.80
loadOldFontFormatMethod · 0.80
loadOldPointerFormatMethod · 0.80
saveMethod · 0.80
savexmlDocumentMethod · 0.80
createProjectMethod · 0.80
exportDataMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected