MCPcopy Create free account
hub / github.com/Cheedoong/xml2json / clone_node

Method clone_node

include/rapidxml/rapidxml.hpp:546–569  ·  view source on GitHub ↗

Clones an xml_node and its hierarchy of child nodes and attributes. Nodes and attributes are allocated from this memory pool. Names and values are not cloned, they are shared between the clone and the source. Result node can be optionally specified as a second parameter, in which case its contents will be replaced with cloned source node. This is useful when you want to clone entire document. \par

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 13

remove_all_attributesMethod · 0.80
remove_all_nodesMethod · 0.80
typeMethod · 0.80
nameMethod · 0.80
name_sizeMethod · 0.80
valueMethod · 0.80
value_sizeMethod · 0.80
first_nodeMethod · 0.80
next_siblingMethod · 0.80
append_nodeMethod · 0.80
first_attributeMethod · 0.80
next_attributeMethod · 0.80

Tested by

no test coverage detected