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

Method clear

include/rapidxml/rapidxml.hpp:1415–1420  ·  view source on GitHub ↗

Clears the document by deleting all nodes and clearing the memory pool. All nodes owned by document pool are destroyed.

Source from the content-addressed store, hash-verified

1413 //! Clears the document by deleting all nodes and clearing the memory pool.
1414 //! All nodes owned by document pool are destroyed.
1415 void clear()
1416 {
1417 this->remove_all_nodes();
1418 this->remove_all_attributes();
1419 memory_pool<Ch>::clear();
1420 }
1421
1422 private:
1423

Callers

nothing calls this directly

Calls 3

remove_all_nodesMethod · 0.80
remove_all_attributesMethod · 0.80
clearFunction · 0.50

Tested by

no test coverage detected