Sign in Join
FPDoc Onlineexperiment

TClassList class

In unit Contnrs

List of classes.

Declaration

pascal
TClassList = class(TList)

Inheritance

  1. TClassList
  2. TList
  3. TObject

Description

TClassList is a Tlist descendent which stores class references instead of pointers. It introduces no new behaviour other than ensuring all stored pointers are class pointers.

The OwnsObjects property as found in TComponentList and TObjectList is not implemented as there are no actual instances.

See also

Properties

ItemspublicIndex based access to class pointers.

Methods

GetItemsprotected
SetItemsprotected
AddpublicAdd a new class pointer to the list.
ExtractpublicExtract a class pointer from the list.
RemovepublicRemove a class pointer from the list.
IndexOfpublicSearch for a class pointer in the list.
FirstpublicReturns the first non-nil class pointer.
LastpublicReturn last non- Nil class pointer.
InsertpublicInsert a new class pointer in the list.

Inherited

From TList (29)

AddList Assign Capacity Clear Contains Count Create Delete Destroy Error Exchange Expand FPOAttachObserver FPODetachObserver FPONotifyObservers Get GetCapacity GetCount GetEnumerator GetList Grow List Move Notify Pack Put SetCapacity SetCount Sort

From TObject (40)

AfterConstruction BeforeDestruction 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 newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

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