help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

TInterfaceList

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Standard implementation of the IInterfaceList interface.

Declaration

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;

Inheritance

TInterfaceList

  

Standard implementation of the IInterfaceList interface.

|

TInterfacedObject

?

TObject

Description

TInterfaceList is a standard implementation of the IInterfaceList interface. It uses a TThreadList instance to store the list of interfaces.

See also

IInterfaceList

  

Interface for maintaining a list of interfaces.

TList

  

Class to manage collections of pointers.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505