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

Method append_attribute

Source/ThirdParty/pugixml/pugixml.cpp:4951–4963  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4949 }
4950
4951 PUGI__FN xml_attribute xml_node::append_attribute(const char_t* name_)
4952 {
4953 if (!impl::allow_insert_attribute(type())) return xml_attribute();
4954
4955 xml_attribute a(impl::allocate_attribute(impl::get_allocator(_root)));
4956 if (!a) return xml_attribute();
4957
4958 impl::append_attribute(a._attr, _root);
4959
4960 a.set_name(name_);
4961
4962 return a;
4963 }
4964
4965 PUGI__FN xml_attribute xml_node::prepend_attribute(const char_t* name_)
4966 {

Callers 1

OnPostProcessMethod · 0.80

Calls 5

allow_insert_attributeFunction · 0.85
allocate_attributeFunction · 0.85
append_attributeFunction · 0.85
set_nameMethod · 0.80
typeEnum · 0.50

Tested by

no test coverage detected