System.TypInfo.TVmtFieldEntry

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

  TVmtFieldEntry = packed record
    FieldOffset: Cardinal;
    TypeIndex: Word; // index into ClassTab
    Name: TSymbolName;
    function NameFld: TTypeInfoFieldAccessor; inline;
   {AttrData: TAttrData}
    function AttrData: PAttrData; inline;
  end;

C++

struct DECLSPEC_DRECORD TVmtFieldEntry
{
public:
    unsigned FieldOffset;
    System::Word TypeIndex;
    TSymbolName Name;
    TTypeInfoFieldAccessor __fastcall NameFld(void);
    PAttrData __fastcall AttrData(void);
};

Properties

Type Visibility Source Unit Parent
record
struct
public
System.TypInfo.pas
System.TypInfo.hpp
System.TypInfo System.TypInfo

Description

TVmtFieldEntry is used internally to store instance field RTTI information.

TVmtFieldEntry structures are automatically inserted by the Object Pascal compiler for all fields that are marked to emit extended RTTI.

Do not use TVmtFieldEntry directly; instead, use the TRttiField class to gain access to field information associated with a Object Pascal type.

See Also