[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Bucket list using objects instead of pointers.
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 |
|
Associative array of data items |
|
end; |
|
Bucket list using objects instead of pointers. |
|
| | ||
|
Default bucket list implementation. |
|
| | ||
|
Custom bucket list class |
|
| | ||
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.
|
Bucket list using objects instead of pointers. |
lazarus-ccr.sourceforge.net |