Clears the document by deleting all nodes and clearing the memory pool. All nodes owned by document pool are destroyed.
| 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 |
nothing calls this directly
no test coverage detected