[Overview][Classes][Index] |
Set the node instance manager to use
Source position: avl_tree.pp line 110
public procedure TAVLTree.SetNodeManager( |
NewMgr: TBaseAVLTreeNodeManager; |
AutoFree: Boolean = False |
); |
NewMgr |
|
New node manager to use |
AutoFree |
|
Automatically free the node manager when the tree is destroyed. |
SetNodeManager sets the node manager instance used by the tree to newmgr. It should be called before any nodes are added to the tree. The TAVLTree instance will not destroy the nodemanager, thus the same instance of the tree node manager can be used to manager the nodes of multiple TAVLTree instances.
By default, a single instance of TAVLTreeNodeMemManager is used to manage the nodes of all TAVLTree instances.
|
Base class for a node memory manager |
|
|
TAVLTreeNode Node memory manager |