[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Base class for a node memory manager.
Source position: avl_tree.pp line 68
| type TBaseAVLTreeNodeManager = class | ||
| public | ||
| procedure DisposeNode(); virtual; abstract; | 
 | Called when the AVL tree no longer needs node. | 
| function NewNode; virtual; abstract; | 
 | Called when the AVL tree needs a new node. | 
| end; | 
| 
 | Base class for a node memory manager. | |
| | | ||
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.
| 
 | TAVLTreeNode Node memory manager. | |
| 
 | Set the node instance manager to use. | |
| 
 | Represents a node in the tree. |