[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'contnrs' (#fcl)

TObjectBucketList

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

Bucket list using objects instead of pointers.

Declaration

Source position: contnrs.pp line 561

type TObjectBucketList = class(TBucketList)

protected

  function GetData();

  procedure SetData();

public

  function Add();

  

Add an object to the list

  function Remove();

  

Remove an object from the list

  property Data: TObject; default; [rw]

  

Associative array of data items

end;

Inheritance

TObjectBucketList

  

Bucket list using objects instead of pointers.

|

TBucketList

  

Default bucket list implementation.

|

TCustomBucketList

  

Custom bucket list class

|

TObject

Description

TObjectBucketList is a class that redefines the associative Data array using TObject instead of Pointer. It also adds some overloaded versions of the Add and Remove calls using TObject instead of Pointer for the argument and result types.

See also

TObjectBucketList

  

Bucket list using objects instead of pointers.

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