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

TFPDataHashTable

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

Hash table for data pointers

Declaration

Source position: contnrs.pp line 420

type TFPDataHashTable = class(TFPCustomHashTable)

public

  function Iterate();

  

Iterate over the pointers in the hash table

  procedure Add(); virtual;

  

Add a data pointer to the list.

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

  

Key-based access to the items in the table

end;

Inheritance

TFPDataHashTable

  

Hash table for data pointers

|

TFPCustomHashTable

  

Hash class

|

TObject

Description

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

See also

TFPObjectHashTable

  

Hash table for object instances

TFPStringHashTable

  

Hash table for string data.

Items

  

Key-based access to the items in the table


Documentation generated on: May 14 2021