Sign in Join
FPDoc Onlineexperiment

TInterfaceList class

In unit Classes

Standard implementation of the IInterfaceList interface.

Declaration

pascal
TInterfaceList = class(TInterfacedObject)

Inheritance

  1. TInterfaceList
  2. TInterfacedObject
  3. TObject

Description

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

See also

Properties

CapacitypublicThe current capacity of the list.
CountpublicThe current number of elements in the list.
ItemspublicArray-based access to the list's items.

Methods

Getprotected
GetCapacityprotected
GetCountprotected
Putprotected
SetCapacityprotected
SetCountprotected
CreatepublicCreate a new instance of TInterfaceList.
DestroypublicDestroys the list of interfaces.
ClearpublicRemoves all interfaces from the list.
DeletepublicDelete an interface from the list.
ExchangepublicExchange 2 interfaces in the list.
FirstpublicReturns the first non- Nil element in the list.
GetEnumeratorpublicCreate an IEnumerator instance.
IndexOfpublicReturns the index of an interface.
AddpublicAdd an interface to the list.
InsertpublicInsert an interface to the list.
LastpublicReturns the last non- Nil element in the list.
RemovepublicRemove an interface from the list.
LockpublicLock the list.
UnlockpublicUnLocks a locked list.
ExpandpublicExpands the list.

Inherited

From TInterfacedObject (7)

_AddRef _Release AfterConstruction BeforeDestruction NewInstance QueryInterface RefCount

From TObject (37)

CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.