[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Standard implementation of the IInterfaceList interface.
Source position: classesh.inc line 2095
type TInterfaceList = class(TInterfacedObject, IInterfaceList) |
||
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 GetEnumerator; |
|
Create an IEnumerator instance |
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 |
|
The current capacity of the list. |
|
|
The current number of elements in the list. |
|
|
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. |