[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'contnrs' (#fcl)

TFPStringHashTable

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

Hash table for string data.

Declaration

Source position: contnrs.pp line 448

type TFPStringHashTable = class(TFPCustomHashTable)

public

  function Iterate();

  

Iterate over the strings in the hash table

  procedure Add(); virtual;

  

Add a new string to the hash list

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

  

Key based access to the strings in the hash table

end;

Inheritance

TFPStringHashTable

  

Hash table for string data.

|

TFPCustomHashTable

  

Hash class

|

TObject

Description

TFPStringHashTable is a TFPCustomHashTable descendent which stores simple strings together with the keys. In case the data associated with the keys are objects, it's better to use TFPObjectHashTable, or for arbitrary pointer data, TFPDataHashTable is more suitable. The strings are exposed with their keys through the Items property.

See also

TFPObjectHashTable

  

Hash table for object instances

TFPDataHashTable

  

Hash table for data pointers

Items

  

Key based access to the strings in the hash table


Documentation generated on: Sep 28 2017