__typeinfo
Go Up to sysmac.h Index
The __typeinfo macro returns the RTTI of a class that descends from TObject.
TTypeInfo *typeInfo = __typeinfo(TMyObject); // TMyObject inherits TObject
Note: You can also use the __delphirtti (which is a keyword extension) to get the RTTI associated with a class.
For examples of __typeinfo, see:
- DesignIntf.RegisterPropertyEditor
- Registering Multiple Properties at Once
- Registering the Property Editor
- ActnMgrBar_(C++)