Declaration¶
Source position: avl_tree.pp line 68
type
TBaseAVLTreeNodeManager = class
public
procedure DisposeNode;
function NewNode : TAVLTreeNode;
end;
Inheritance¶
Description¶
TBaseAVLTreeNodeManager is an abstract class from which a descendent can be created that manages creating and disposing of tree nodes (instances of TAVLTreeNode) for a TAVLTree tree instance. No instance of this class should be created, it is a purely abstract class. The default descendant of this class used by an TAVLTree instance is TAVLTreeNodeMemManager.
The TAVLTree.SetNodeManager method can be used to set the node manager that a TAVLTree instance should use.
Methods¶
| Member | Visibility | Description |
|---|---|---|
| DisposeNode | public | Called when the AVL tree no longer needs node. |
| NewNode | public | Called when the AVL tree needs a new node. |
See also¶
| Name | Description |
|---|---|
| TAVLTreeNodeMemManager | TAVLTreeNode Node memory manager. |
| TAVLTree.SetNodeManager | Set the node instance manager to use. |
| TAVLTreeNode | Represents a node in the tree. |