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

Method append_copy

Tools/EditorFramework/pugixml.cpp:4760–4769  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4758 }
4759
4760 PUGI__FN xml_attribute xml_node::append_copy(const xml_attribute& proto)
4761 {
4762 if (!proto)
4763 return xml_attribute();
4764
4765 xml_attribute result = append_attribute(proto.name());
4766 result.set_value(proto.value());
4767
4768 return result;
4769 }
4770
4771 PUGI__FN xml_attribute xml_node::prepend_copy(const xml_attribute& proto)
4772 {

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