[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 440

type TFPStringHashTable = class(TFPCustomHashTable) end;

public

  function Iterate(); virtual;

  

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

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: Nov 14 2015