Sign in Join
FPDoc Onlineexperiment

TFPDataHashTable class

In unit Contnrs

Hash table for data pointers.

Declaration

pascal
TFPDataHashTable = class(TFPCustomHashTable)

Inheritance

  1. TFPDataHashTable
  2. TFPCustomHashTable
  3. 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

Properties

ItemspublicKey-based access to the items in the table.

Methods

CreateNewNodeprotected
AddNodeprotected
SetDataprotected
GetDataprotected
ForEachCallprotected
IteratepublicIterate over the pointers in the hash table.
AddpublicAdd a data pointer to the list.

Inherited

From TFPCustomHashTable (23)

AVGChainLen Chain ChainLength ChangeTableSize Clear Count Create CreateWith Delete Density Destroy Find FindChainForAdd FindOrCreateNew HashFunction HashTable HashTableSize IsEmpty LoadFactor MaxChainLength NumberOfCollisions SetHashFunction VoidSlots

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.