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

Method insert_copy_before

Tools/EditorFramework/pugixml.cpp:4793–4802  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4791 }
4792
4793 PUGI__FN xml_attribute xml_node::insert_copy_before(const xml_attribute& proto, const xml_attribute& attr)
4794 {
4795 if (!proto)
4796 return xml_attribute();
4797
4798 xml_attribute result = insert_attribute_before(proto.name(), attr);
4799 result.set_value(proto.value());
4800
4801 return result;
4802 }
4803
4804 PUGI__FN xml_node xml_node::append_child(xml_node_type type_)
4805 {

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