Unit 'Contnrs' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TFPHashObjectList

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

Declaration

Source position: contnrs.pp line 303

type TFPHashObjectList = class(TObject)

public

  constructor Create();

  

Create a new instance of the hashlist.

  destructor Destroy; override;

  

Removes an instance of the hashlist from the heap.

  procedure Clear;

  

Clear the list.

  function Add();

  

Add a new key/data pair to the list.

  function NameOfIndex();

  

Returns the key name of an object by index.

  function HashOfIndex();

  

Return the hash value of an object by index.

  function GetNextCollision();

  

Get next collision number.

  procedure Delete();

  

Delete an object from the list.

  function Expand;

  

Expand the list.

  function Extract();

  

Extract a object instance from the list.

  function Remove();

  

Remove first occurrence of a object instance.

  function IndexOf();

  

Return the index of the object instance.

  function Find();

  

Find data associated with key.

  function FindIndexOf();

  

Return index of named object.

  function FindWithHash();

  

Find first element with given name and hash value.

  function Rename();

  

Rename a key.

  function FindInstanceOf();

  

Search an instance of a certain class.

  procedure Pack;

  

Remove nil object instances from the list.

  procedure ShowStatistics;

  

Return some statistics for the list.

  procedure ForEachCall();

  

Call a procedure for each object in the list.

  property Capacity: Integer; [rw]

  

Capacity of the list.

  property Count: Integer; [rw]

  

Current number of elements in the list.

  property OwnsObjects: Boolean; [rw]

  

Does the list own the objects it contains.

  property Items []: TObject; default; [rw]

  

Indexed array with object instances.

  property List: TFPHashList; [r]

  

Low-level hash list.

end;

Inheritance

TFPHashObjectList

|

TObject


Documentation generated on: Nov 22 2024