[Overview][Classes][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
String list with support for has values
Source position: inifiles.pp line 61
type THashedStringList = class(TStringList) |
||
protected |
||
procedure Changed; override; |
||
public |
||
constructor Create; |
|
Instantiates a new instance of THashedStringList |
destructor Destroy; override; |
|
Clean up instance |
function IndexOf(); override; |
|
Returns the index of a string in the list of strings |
function IndexOfName(); override; |
|
Return the index of a name in the list of name=value pairs |
end; |
|
String list with support for has values |
|
| | ||
| | ||
| | ||
| | ||
THashedStringList is a TStringList descendent which creates has values for the strings and names (in the case of a name-value pair) stored in it. The IndexOf and IndexOfName functions make use of these hash values to quicklier locate a value.
|
Returns the index of a string in the list of strings |
|
|
Return the index of a name in the list of name=value pairs |
lazarus-ccr.sourceforge.net |