System.Rtti.TRttiObject

From RAD Studio API Documentation
Jump to: navigation, search

System.TObjectTRttiObject

Delphi

TRttiObject = class abstract

C++

class PASCALIMPLEMENTATION TRttiObject : public System::TObject

Properties

Type Visibility Source Unit Parent
class public
System.Rtti.pas
System.Rtti.hpp
System.Rtti System.Rtti

Description

TRttiObject is the base class for all RTTI objects.

TRttiObject is an abstract class used as base for all RTTI classes. TRttiObject defines a set of common traits that are present in all RTTI classes.

Descendants of TRttiObject are used to represent various elements of Delphi-defined types, such as:

  • Types, including simple types, structured types, and classes.
  • Members, including methods, fields, and properties.

Do not create instances of TRttiObject or its descendants directly. Use a TRttiContext instance to work with RTTI objects.

See Also