TType Class
Definition
Provides static methods to get RTTI information of a type.
Delphi
type TType = class(TType)
- Inheritance
Remarks
Notes to Callers
When using this class, a shared instance of the TRttiContext class will be kept, which will make all instances of RTTI types live during the lifetime.
Properties
| Classes | |
| Context | (Inherited from TType) |
| Interfaces | |
| Types |
Methods
| FindType(string) | |
| GetClasses | |
| GetInterfaces | |
| GetType(TClass) | (Inherited from TType) |
| GetTypes | |
| HasWeakRef<T> | (Inherited from TType) |
| IsAssignable(PTypeInfo, PTypeInfo) |
Returns true if the typeFrom is assignable to the typeTo. |
| IsDelegate(PTypeInfo) |
Returns |
| IsManaged<T> | (Inherited from TType) |
| Kind<T> | (Inherited from TType) |
| SetFieldValue(TObject, string, TValue) | |
| SetMemberValue(TObject, string, TValue) | |
| SetPropertyValue(TObject, string, TValue) | |
| TryGetInterfaceType(TGuid, TRttiInterfaceType) | |
| TryGetType(PTypeInfo, TRttiType) |