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

TAVLTree.DisposeNode

Dispose of a node outside of the tree

Declaration

Source position: avl_tree.pp line 115

public procedure TAVLTree.DisposeNode(

  ANode: TAVLTreeNode

); virtual;

Arguments

ANode

  

Node to dispose of

Description

DisposeNode disposes of a node outside of the tree. If the node manager is set, the node is returned to the manager, otherwise it is freed. Do not use this on a node that is still in the tree.

Errors

If use on a node in the tree, no error will happen, but the tree will no longer be correct and access violations may happen later on.

See also

TAVLTree.NewNode

  

Create a new tree node


Documentation generated on: May 14 2021