Skip to content

TArrayTypeData

Array type data.

Declaration

Source position: typinfo.pp line 303

type
  TArrayTypeData = packed record
    property ElType: PTypeInfo; {r}
    property Dims[Index : Byte]: PTypeInfo; {r}
    Size: SizeInt = Int64;
    ElCount: SizeInt = Int64;
    ElTypeRef: PPTypeInfo = ^PTypeInfo;
    DimCount: Byte;
    DimsRef: Array[0..255] of PPTypeInfo = ^PTypeInfo;
  end;

Description

TArrayTypeData is used to describe arrays in RTTI. It can be encountered when the type kind is tkArray, and is used for both static and dynamic arrays and single or multi-dimensional arrays. The type of the array elements is described in elType, and the ranges for each of the dimensions (specified in DimCount in Dims.

See also

Name Description
TTypeInfo Type information record.
TTypeKind Type of a property.
TTypeData Class properties type data record.