MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / allow_insert_child

Function allow_insert_child

lib/pugixml/src/pugixml.cpp:4356–4363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4354 }
4355
4356 PUGI__FN bool allow_insert_child(xml_node_type parent, xml_node_type child)
4357 {
4358 if (parent != node_document && parent != node_element) return false;
4359 if (child == node_document || child == node_null) return false;
4360 if (parent != node_document && (child == node_declaration || child == node_doctype)) return false;
4361
4362 return true;
4363 }
4364
4365 PUGI__FN bool allow_move(xml_node parent, xml_node child)
4366 {

Callers 10

allow_moveFunction · 0.85
append_childMethod · 0.85
prepend_childMethod · 0.85
insert_child_beforeMethod · 0.85
insert_child_afterMethod · 0.85
append_copyMethod · 0.85
prepend_copyMethod · 0.85
insert_copy_afterMethod · 0.85
insert_copy_beforeMethod · 0.85
append_bufferMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected