[Overview][Types][Classes][Variables][Index] Reference for unit 'AVL_Tree' (#fcl)

TBaseAVLTreeNodeManager

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Base class for a node memory manager

Declaration

Source position: avl_tree.pp line 60

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;

Inheritance

TBaseAVLTreeNodeManager

  

Base class for a node memory manager

|

TObject

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.

See also

TAVLTreeNodeMemManager

  

TAVLTreeNode Node memory manager

TAVLTree.SetNodeManager

  

Set the node instance manager to use

TAVLTreeNode

  

Represents a node in the tree.


Documentation generated on: May 14 2021