[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'AvgLvlTree' (#lcl)

TPointerToPointerTree

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

TPointerToPointerTree - an associative array of PointerToPointer Items, or a tree of trees

Declaration

Source position: avglvltree.pas line 147

type TPointerToPointerTree = class

public

  constructor Create;

  

Create - constructor for TPointerToPointerTree. Calls the TAvgLvlTree.Create method

  destructor Destroy; override;

  

Destroy - destructor for TPointerToPointerTree: Clear the tree, Free the items then call inherited Destroy

  procedure Clear;

  

Clear - removes each node from the tree, leaving an empty tree

  procedure Remove();

  

Remove the node specified by Key from the tree

  function Contains();

  

Returns True if the tree Contains the node specified by Key

  function GetFirst();

  

GetFirst - finds the first node matching the supplied arguments; returns True if successful

  function GetLast();

  

GetLast - finds the last node matching the supplied arguments; returns True if successful

  function GetNext();

  

GetNext - finds the next node matching the supplied arguments; returns True if successful

  function GetPrev();

  

GetPrev - finds the previous node matching the supplied arguments; returns True if successful

  property Count: Integer; [r]

  

Count - the number of items

  property Values: Pointer; default; [rw]

  

Values - a pointer into the array of values associated with the nodes

  property Tree: TAvgLvlTree; [r]

  

The Tree that forms the basis of the associative array

end;

Inheritance

TPointerToPointerTree

  

TPointerToPointerTree - an associative array of PointerToPointer Items, or a tree of trees

|

TObject

Description

TPointerToPointerTree - an associative array of PointerToPointer Items, or a tree of trees. This class uses pointers to identify pointers within the array, unlike the TStringToStringTree, which uses strings to identify strings.