Reference for unit 'Classes'¶
Basic classes for RTL.
uses
| Used units | Description |
|---|---|
| System | The system unit. |
| sysutils | Various system utilities. |
| Types | Various types. |
| TypInfo | Access Run-Time Type Information (RTTI). |
| rtlconsts | Resource strings with messages. |
| sortbase |
Overview¶
This documentation describes the FPC classes unit. The Classes unit contains basic classes for the Free Component Library (FCL):
- a TList class for maintaining lists of pointers,
- TStringList for lists of strings,
- TCollection to manage collections of objects
- TStream classes to support streaming.
Furthermore it introduces methods for object persistence, and classes that understand an owner-owned relationship, with automatic memory management.