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

TStringToStringTree

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

An associative array of StringToString Items, or a tree of trees.

Declaration

Source position: avglvltree.pas line 228

type TStringToStringTree = class(TCustomStringMap)

protected

  procedure DisposeItem(); override;

  

  function ItemsAreEqual(); override;

  

  function CreateCopy(); override;

  

  function GetNode();

  

public

  function GetString();

  

  procedure Add();

  

Add an item to the tree (specified by its name, value or delimiter).

  procedure AddNameValues();

  

AddNameValues add the specified named values to the tree.

  procedure AddNames();

  

  property Values []: string; default; [rw]

  

The Values of the strings corresponding to the supplied name.

  function GetNodeData();

  

  function AsText;

  

  procedure Assign(); override;

  

  function CalcMemSize; override;

  

  function GetEnumerator;

  

  function GetFirst();

  

GetFirst - finds the matching first item; returns True if successful.

  function GetLast();

  

GetLast - finds the last matching item; returns True if successful.

  function GetNext();

  

GetNext - finds the next matching item; returns True if successful.

  function GetPrev();

  

GetPrev - finds the previous matching item; returns True if successful.

end;

Inheritance

TStringToStringTree

  

An associative array of StringToString Items, or a tree of trees.

|

TCustomStringMap

  

|

TObject

Description

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

See also

TCustomStringMap

  


Version 4.0 Generated 2025-05-03 Home