MCPcopy Create free account
hub / github.com/KDE/labplot / clear

Method clear

src/3rdparty/liborigin/tree.hh:639–644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

637
638template<class T, class tree_node_allocator>
639void tree<T, tree_node_allocator>::clear()
640{
641 if (head)
642 while (head->next_sibling != feet)
643 erase(pre_order_iterator(head->next_sibling));
644}
645
646template<class T, class tree_node_allocator>
647void tree<T, tree_node_allocator>::erase_children(const iterator_base &it)

Callers 1

ParseKeyValueMapFunction · 0.45

Calls 1

pre_order_iteratorClass · 0.70

Tested by

no test coverage detected