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

TPointerToPointerTree

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

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

Declaration

Source position: avglvltree.pas line 106

type TPointerToPointerTree = class

public

  constructor Create;

  

Constructor for the class instance.

  destructor Destroy; override;

  

Destructor for the class instance.

  procedure Clear;

  

  procedure ClearWithFree;

  

Frees objects stored in Values.

  function Equals(); override;

  

  function IsEqual();

  

  procedure Assign();

  

  procedure Remove();

  

  function Contains();

  

  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.

  function FindByValue();

  

Finds a Key by its Value using a slow linear search.

  property Count: SizeInt; [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: TAVLTree; [r]

  

The Tree that forms the basis of the associative array.

  function GetEnumerator;

  

  function GetEnumeratorHighToLow;

  

end;

Inheritance

TPointerToPointerTree

  

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

|

TObject

Description

TPointerToPointerTree is 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.


Version 4.0 Generated 2025-05-03 Home