Constructors
Declared in <bslalg_rbtreeanchor.h>
Create a RbTree object having the (default) attribute values: ` rootNode() == 0 firstNode() == sentinel() numNodes() == 0 `
RbTreeAnchor();
» more...
Create a RbTreeAnchor object having the specified rootNode, firstNode, and numNodes attribute values.
RbTreeAnchor(
RbTreeNode* rootNode,
RbTreeNode* firstNode,
int numNodes);
» more...
| Name | Description |
|---|---|
| rootNode | address of the root node |
| firstNode | address of the first (left-most) node |
| numNodes | number of nodes in the tree |