[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'TypInfo' (#rtl)

TArrayTypeData

Array type data

Declaration

Source position: typinfo.pp line 251

type TArrayTypeData = packed record

public

  property ElType: PTypeInfo; [r]

  

Type information for an element in the array

  property Dims []: PTypeInfo; [r]

  

Range information for each dimension in the array

  Size: SizeInt;

  

Declared size of the array

  ElCount: SizeInt;

  

Total number of elements in the array

  ElTypeRef: PPTypeInfo;

  DimCount: Byte;

  

Number of dimensions in the array

  DimsRef: ;

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

TTypeInfo

  

Type information record

TTypeKind

  

Type of a property.

TTypeData

  

Class properties type data record.


Documentation generated on: Jun 23 2021