MCPcopy Create free account
hub / github.com/cinder/Cinder / remove_all_nodes

Method remove_all_nodes

include/rapidxml/rapidxml.hpp:1188–1193  ·  view source on GitHub ↗

Removes all child nodes (but not attributes).

Source from the content-addressed store, hash-verified

1186
1187 //! Removes all child nodes (but not attributes).
1188 void remove_all_nodes()
1189 {
1190 for (xml_node<Ch> *node = first_node(); node; node = node->m_next_sibling)
1191 node->m_parent = 0;
1192 m_first_node = 0;
1193 }
1194
1195 //! Prepends a new attribute to the node.
1196 //! \param attribute Attribute to prepend.

Callers 3

clone_nodeMethod · 0.80
parseMethod · 0.80
clearMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected