MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / append_move

Method append_move

Source/ThirdParty/pugixml/pugixml.cpp:5201–5212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5199 }
5200
5201 PUGI__FN xml_node xml_node::append_move(const xml_node& moved)
5202 {
5203 if (!impl::allow_move(*this, moved)) return xml_node();
5204
5205 // disable document_buffer_order optimization since moving nodes around changes document order without changing buffer pointers
5206 impl::get_document(_root).header |= impl::xml_memory_page_contents_shared_mask;
5207
5208 impl::remove_node(moved._root);
5209 impl::append_node(moved._root, _root);
5210
5211 return moved;
5212 }
5213
5214 PUGI__FN xml_node xml_node::prepend_move(const xml_node& moved)
5215 {

Callers

nothing calls this directly

Calls 4

allow_moveFunction · 0.85
xml_nodeClass · 0.85
remove_nodeFunction · 0.85
append_nodeFunction · 0.85

Tested by

no test coverage detected