Sign in Join
FPDoc Onlineexperiment

TPointerToPointerTree class

In unit AvgLvlTree

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

Declaration

pascal
TPointerToPointerTree = class

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.

Properties

CountpublicCount - the number of items.
ValuespublicValues - a pointer into the array of values associated with the nodes.
TreepublicThe Tree that forms the basis of the associative array.

Methods

CreatepublicConstructor for the class instance.
DestroypublicDestructor for the class instance.
Clearpublic
ClearWithFreepublicFrees objects stored in Values.
Equalspublic
IsEqualpublic
Assignpublic
Removepublic
Containspublic
GetFirstpublicGetFirst - finds the first node matching the supplied arguments; returns True if successful.
GetLastpublicGetLast - finds the last node matching the supplied arguments; returns True if successful.
GetNextpublicGetNext - finds the next node matching the supplied arguments; returns True if successful.
GetPrevpublicGetPrev - finds the previous node matching the supplied arguments; returns True if successful.
FindByValuepublicFinds a Key by its Value using a slow linear search.
GetEnumeratorpublic
GetEnumeratorHighToLowpublic

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.