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