Sign in Join
FPDoc Onlineexperiment

TObjectBucketList class

In unit Contnrs

Bucket list using objects instead of pointers.

Declaration

pascal
TObjectBucketList = class(TBucketList)

Inheritance

  1. TObjectBucketList
  2. TBucketList
  3. TCustomBucketList
  4. 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

Properties

DatapublicAssociative array of data items.

Methods

GetDataprotected
SetDataprotected
AddpublicAdd an object to the list.
RemovepublicRemove an object from the list.

Inherited

From TBucketList (2)

BucketFor Create

From TCustomBucketList (13)

AddItem Assign BucketCount Buckets Clear DeleteItem Destroy Error Exists Find FindItem ForEach GetBucketItem

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.