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

Method root

Tools/EditorFramework/pugixml.cpp:4575–4584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4573 }
4574
4575 PUGI__FN xml_node xml_node::root() const
4576 {
4577 if (!_root)
4578 return xml_node();
4579
4580 impl::xml_memory_page* page =
4581 reinterpret_cast<impl::xml_memory_page*>(_root->header & impl::xml_memory_page_pointer_mask);
4582
4583 return xml_node(static_cast<impl::xml_document_struct*>(page->allocator));
4584 }
4585
4586 PUGI__FN xml_text xml_node::text() const
4587 {

Callers 2

first_element_by_pathMethod · 0.45
eval_node_setMethod · 0.45

Calls 1

xml_nodeClass · 0.70

Tested by

no test coverage detected