Declaration¶
Source position: contnrs.pp line 124
Inheritance¶
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.
Properties¶
| Member | Visibility | Description |
|---|---|---|
| Items | public | Index based access to class pointers. |
Methods¶
| Member | Visibility | Description |
|---|---|---|
| Add | public | Add a new class pointer to the list. |
| Extract | public | Extract a class pointer from the list. |
| First | public | Returns the first non-nil class pointer. |
| IndexOf | public | Search for a class pointer in the list. |
| Insert | public | Insert a new class pointer in the list. |
| Last | public | Return last non-Nil class pointer. |
| Remove | public | Remove a class pointer from the list. |
See also¶
| Name | Description |
|---|---|
| #rtl.classes.tlist | |
| TComponentList | List to manage component instances. |
| TObjectList | List to manage object instances. |