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

TStringHash

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

String hash list

Declaration

Source position: inifiles.pp line 62

type TStringHash = class

public

  constructor Create();

  

Create a new instance of TStringHash

  destructor Destroy; override;

  

Free TStringHash instance

  procedure Add();

  

Add a new value to the hash

  procedure Clear;

  

Remove all values

  function Modify();

  

Try to modify an existing value

  procedure Remove();

  

Remove a key from the hash

  function ValueOf();

  

Retrieve value of Key

  property AddReplacesExisting: Boolean; [rw]

  

Should Add replace existing values or not

end;

Inheritance

TStringHash

  

String hash list

|

TObject

Description

TStringHash is a Delphi compatibility object. It is not used in the TIniFile implementation. It implements a bucket list for Name=Value pairs, where Value is an integer. This enables quick lookup of values based on a name.

See also

TIniFIle

  

Ini file implementation

TStringHash.Create

  

Create a new instance of TStringHash

TStringHash.ValueOf

  

Retrieve value of Key


Documentation generated on: May 14 2021