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

Function insert_node_after

Source/ThirdParty/pugixml/pugixml.cpp:670–685  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

668 }
669
670 inline void insert_node_after(xml_node_struct* child, xml_node_struct* node)
671 {
672 xml_node_struct* parent = node->parent;
673
674 child->parent = parent;
675
676 if (node->next_sibling)
677 node->next_sibling->prev_sibling_c = child;
678 else
679 parent->first_child->prev_sibling_c = child;
680
681 child->next_sibling = node->next_sibling;
682 child->prev_sibling_c = node;
683
684 node->next_sibling = child;
685 }
686
687 inline void insert_node_before(xml_node_struct* child, xml_node_struct* node)
688 {

Callers 3

insert_child_afterMethod · 0.85
insert_copy_afterMethod · 0.85
insert_move_afterMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected