[Overview][Classes][Index] Reference for unit 'IniFiles' (#fcl)

THashedStringList

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

String list with support for has values

Declaration

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;

Inheritance

THashedStringList

  

String list with support for has values

|

TStringList

|

TStrings

|

TPersistent

|

TObject

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 quicklier 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

The latest version of this document can be found at lazarus-ccr.sourceforge.net.