A tree container. See cTreeNd_c.
cTreeMg_c()
Constructs a new tree container.
bool addTreeNode(cTreeNd_c *node, cTreeNd_c *parent)
Adds a node to the tree, either to the root node or to a specified parent node.
cTreeNd_c * mpRootNode
The root node of the tree.
bool removeTreeNode(cTreeNd_c *node)
Removes a node from the tree.
A tree node. See cTreeMg_c.
cTreeNd_c * mpParent
The parent node.
void forcedClear()
Clears all fields.
cTreeNd_c * mpPrev
The previous sibling node.
cTreeNd_c()
Constructs a new tree node.
cTreeNd_c * getTreeNextNotChild() const
Gets the next node in preorder traversal order, excluding the node's children.
cTreeNd_c * mpChild
The child node.
cTreeNd_c * mpNext
The next sibling node.
cTreeNd_c * getTreeNext() const
Gets the next node in preorder traversal order.