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

TAVLTree.NodeToReportStr

Create a textual dump of the tree.

Declaration

Source position: avl_tree.pp line 174

public function TAVLTree.NodeToReportStr(

  aNode: TAVLTreeNode

):string; virtual;

Arguments

aNode

  

Node to start from.

Function result

The tree represented as a text.

Description

NodeToReportStr creates a textual representation of a node. It is called by TAVLTree.ReportAsString for debugging purposes. It prints the data pointer as a hex value. Override this to create a human-readable representation of the data.

See also

TAVLTree.ReportAsString

  

Return the tree report as a string.


Documentation generated on: Oct 02 2024