IMultiDimArrayType

Overview

IMultDimArrayType is a multi dimensional array type with its low and high bound values predefined. For example:

type MyArray = array[0..15, 5..17, 10..] of Byte. This would have a dim count of 3, a high count of 2 and GetLow would return 0, 5, 10. GetHigh 15,17.

Location


Properties


DimCount

The number of dimensions in this array

 

property DimCount: Int32 read;

 

Int32 DimCount { get; }

 

var DimCount: Int32 { get{} }

 

Int32 DimCount { __get; }

 

ReadOnly Property DimCount() As Int32

HighCount

The ranges with a high count specified; this is less or equal to

 

property HighCount: Int32 read;

 

Int32 HighCount { get; }

 

var HighCount: Int32 { get{} }

 

Int32 HighCount { __get; }

 

ReadOnly Property HighCount() As Int32

Required Methods


GetHigh

Returns the High bound at that index. Must be less than HighCount and >= 0

 

method GetHigh(dim: Int32): Int32

 

Int32 GetHigh(Int32 dim)

 

func GetHigh(_ dim: Int32) -> Int32

 

Int32 GetHigh(Int32 dim)

 

Function GetHigh(dim As Int32) As Int32

Parameters:

  • dim: index

GetLow

Returns the Low bound at that index. Must be less than DimCount and >= 0

 

method GetLow(dim: Int32): Int32

 

Int32 GetLow(Int32 dim)

 

func GetLow(_ dim: Int32) -> Int32

 

Int32 GetLow(Int32 dim)

 

Function GetLow(dim As Int32) As Int32

Parameters:

  • dim: index