[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'Classes' (#rtl) |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Standard implementation of the IInterfaceList interface.
Source position: classesh.inc line 1483
type TInterfaceList = class(TInterfacedObject) |
||
public |
||
constructor Create; |
|
Create a new instance of TInterfaceList |
destructor Destroy; override; |
|
Destroys the list of interfaces |
procedure Clear; |
|
Removes all interfaces from the list. |
procedure Delete(); |
|
Delete an interface from the list. |
procedure Exchange(); |
|
Exchange 2 interfaces in the list |
function First; |
|
Returns the first non-Nil element in the list. |
function IndexOf(); |
|
Returns the index of an interface. |
function Add(); |
|
Add an interface to the list |
procedure Insert(); |
|
Insert an interface to the list |
function Last; |
|
Returns the last non-Nil element in the list. |
function Remove(); |
|
Remove an interface from the list |
procedure Lock; |
|
Lock the list |
procedure Unlock; |
|
UnLocks a locked list |
function Expand; |
|
Expands the list |
property Capacity: Integer; [rw] |
|
The current capacity of the list. |
property Count: Integer; [rw] |
|
The current number of elements in the list. |
property Items: IUnknown; default; [rw] |
|
Array-based access to the list's items. |
end; |
|
Standard implementation of the IInterfaceList interface. |
|
| | ||
TInterfacedObject |
||
? | ||
TObject |
TInterfaceList is a standard implementation of the IInterfaceList interface. It uses a TThreadList instance to store the list of interfaces.
|
Interface for maintaining a list of interfaces. |
|
|
Class to manage collections of pointers. |
No notes exist for this page yet.