Unit 'AVL_Tree' Package
[Overview][Types][Classes][Variables][Index] [#fcl]

TAVLTree.DisposeNode

Dispose of a node outside of the tree.

Declaration

Source position: avl_tree.pp line 123

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: Nov 22 2024