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

Method prepend_copy

Tools/EditorFramework/pugixml.cpp:4771–4780  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4769 }
4770
4771 PUGI__FN xml_attribute xml_node::prepend_copy(const xml_attribute& proto)
4772 {
4773 if (!proto)
4774 return xml_attribute();
4775
4776 xml_attribute result = prepend_attribute(proto.name());
4777 result.set_value(proto.value());
4778
4779 return result;
4780 }
4781
4782 PUGI__FN xml_attribute xml_node::insert_copy_after(const xml_attribute& proto, const xml_attribute& attr)
4783 {

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