Working with RTTI

From RAD Studio
Jump to: navigation, search

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).

Topics


See Also

Personal tools
Newest Version: XE
In other languages