System.TypInfo.TArrayTypeData

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

  TArrayTypeData = packed record
    Size: Integer;
    ElCount: Integer; // product of lengths of all dimensions
    ElType: PPTypeInfo;
    DimCount: Byte;
    Dims: array[0..255 {DimCount-1}] of PPTypeInfo;
  end;

C++

struct DECLSPEC_DRECORD TArrayTypeData
{
public:
    int Size;
    int ElCount;
    PTypeInfo *ElType;
    System::Byte DimCount;
    System::StaticArray<PPTypeInfo, 256> Dims;
};

Properties

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

Description

TArrayTypeData is used internally to store array RTTI information.

TArrayTypeData structures are automatically inserted by the Delphi compiler for all array types that are marked to emit extended RTTI.

Do not use TArrayTypeData directly; instead, use the TRttiArrayType class to gain access to field information associated with a Delphi type.

See Also