IInterfaceList interface
Interface for maintaining a list of interfaces.
Declaration
IInterfaceList = classDescends from it: IInterfaceListEx
Description
IInterfaceList is an interface for maintaining a list of
interfaces, strongly resembling the standard
TList class.
It offers the same list of public methods as
TList, with
the exception that it uses interfaces instead of pointers.
All interfaces in the list should descend from IUnknown.
More detailed descriptions of how the various methods behave can be found in the TList reference.
See also
Properties
Capacity | Capacity of the list. | |
Count | Current number of elements in the list. | |
Items | Provides Index-based, sequential, access to the interfaces in the list. |
Methods
Get | Retrieve an interface pointer from the list. | |
GetCapacity | Return the capacity of the list. | |
GetCount | Return the current number of elements in the list. | |
Put | Write an item to the list. | |
SetCapacity | Set the capacity of the list. | |
SetCount | Set the number of items in the list. | |
Clear | Clear the list. | |
Delete | Remove an interface from the list. | |
Exchange | Exchange 2 interfaces in the list. | |
First | Return the first non-empty interface in the list. | |
IndexOf | Return the index of an interface. | |
Add | Add an interface to the list. | |
Insert | Insert an interface in the list. | |
Last | Returns the last non-nil interface in the list. | |
Remove | Remove an interface from the list. | |
Lock | Lock the list. | |
Unlock | Unlock the list. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
