[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Contnrs' (#fcl)

TClassList

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

List of classes.

Declaration

Source position: contnrs.pp line 116

type TClassList = class(TList)

public

  function Add();

  

Add a new class pointer to the list.

  function Extract();

  

Extract a class pointer from the list.

  function Remove();

  

Remove a class pointer from the list.

  function IndexOf();

  

Search for a class pointer in the list.

  function First;

  

Returns the first non-nil class pointer

  function Last;

  

Return last non-Nil class pointer

  procedure Insert();

  

Insert a new class pointer in the list.

  property Items []: TClass; default; [rw]

  

Index based access to class pointers.

end;

Inheritance

TClassList

  

List of classes.

|

TList,IFPObserved

|

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

#rtl.classes.tlist

TComponentList

  

List to manage component instances.

TObjectList

  

List to manage object instances.


Documentation generated on: May 14 2021