Working with RTTI
Go Up to Programming with RAD Studio Index
Runtime Type Information (RTTI) is a programming paradigm in which information about a type can be obtained at run time. If RTTI generation is enabled, the resulting binary includes special metadata that contains information about types (for example, class ancestry, declared fields, annotated attributes). Using the functionality provided in the Rtti unit, you can obtain this information at run time. The net result is the ability to create more abstract and generalized frameworks that can operate on any type that exposes RTTI.
Note: This section describes RTTI for the Delphi language. For information about RTTI for C++, see Run-time Type Identification (RTTI).
- Obtaining the RTTI Context
- Querying for Type Information
- General Type Information
- Information for Simple Types
- Information for Structured Types
- Run-Time Operations on Types