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