Unit 'IniFiles' Package
[Overview][Constants][Types][Classes][Index] [#fcl]

THashedStringList

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

String list with support for has values.

Declaration

Source position: inifiles.pp line 85

type THashedStringList = class(TStringList)

public

  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;

Inheritance

THashedStringList

  

String list with support for has values.

|

TStringList

|

TStrings

|

TPersistent

|

TObject,IFPObserved

Description

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 quickly locate a value.

See also

IndexOf

  

Returns the index of a string in the list of strings.

IndexOfName

  

Return the index of a name in the list of name=value pairs.


Documentation generated on: Dec 22 2024