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

Method insert_copy_after

Tools/EditorFramework/pugixml.cpp:4782–4791  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4780 }
4781
4782 PUGI__FN xml_attribute xml_node::insert_copy_after(const xml_attribute& proto, const xml_attribute& attr)
4783 {
4784 if (!proto)
4785 return xml_attribute();
4786
4787 xml_attribute result = insert_attribute_after(proto.name(), attr);
4788 result.set_value(proto.value());
4789
4790 return result;
4791 }
4792
4793 PUGI__FN xml_attribute xml_node::insert_copy_before(const xml_attribute& proto, const xml_attribute& attr)
4794 {

Callers

nothing calls this directly

Calls 5

recursive_copy_skipFunction · 0.70
nameMethod · 0.45
set_valueMethod · 0.45
valueMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected