Unit 'TypInfo' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#rtl]

TArrayTypeData

Array type data.

Declaration

Source position: typinfo.pp line 302

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;

  

Reference to element type info.

  DimCount: Byte;

  

Number of dimensions in the array.

  DimsRef: array [0..255] of PPTypeInfo;

  

Reference to dimension data.

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: Dec 22 2024