[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Hash table for data pointers
Source position: contnrs.pp line 410
type TFPDataHashTable = class(TFPCustomHashTable) |
||
protected |
||
function CreateNewNode(); override; |
||
procedure AddNode(); override; |
||
procedure SetData(); virtual; |
||
function GetData(); virtual; |
||
function ForEachCall(); virtual; |
||
public |
||
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; |
|
Hash table for data pointers |
|
| | ||
|
Hash class |
|
| | ||
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.
|
Hash table for object instances |
|
|
Hash table for string data. |
|
|
Key-based access to the items in the table |
lazarus-ccr.sourceforge.net |