XPRMArray Properties
The XPRMArray type exposes the following members.
| Name | Description | |
|---|---|---|
| Dim |
Array dimensions; number indices required to access an array cell
|
|
| FirstIndex |
Index of the first cell of the array.
|
|
| FirstTEIndex |
Index of the first defined cell of the array. Dynamic arrays do not necessarily have a defined cell for each index.
|
|
| IndexSets |
Sets indexing the array. When indices are given to the array in other functions, we use indexes into the index sets - ie if there are two index sets {2,3,4} and {"a", "b", "c"), then the array position [2,"c"] will be passed to
Get(Int32) as an array of two integers: [1,3], because "2" is the first element of the first index set, and "c" is the third element of the second index set.
|
|
| Indices |
A list containing all the index positions in the array - each index position is given as an int[].
|
|
| IsDynamic |
Check whether the array is dynamic.
|
|
| IsEmpty |
Check whether the array is empty.
|
|
| IsInitialised |
Check whether the array has been initialised. Objects are initialised during model execution. Trying to access a Mosel object that has not been created will result on an exception.
(Overrides XPRMValueIsInitialised.) |
|
| LastIndex |
Index of the last cell of the array.
|
|
| Model |
Used to fetch the XPRM model to which this object belongs, or else 'null' if there is no model anywhere among this Object's ancestors.
(Inherited from XPRMObjectBase.) |
|
| Owner |
Used to fetch the XPRM object to which this object belongs
(Inherited from XPRMObjectBase.) |
|
| Size |
The total number of elements in the array
|
|
| StructCode | (Inherited from XPRMTypedObject.) | |
| StructName | (Inherited from XPRMTypedObject.) | |
| TEIndices |
A list containing the index positions of all the defined cells in the array - each index position is given as an int[].
|
|
| Type | (Inherited from XPRMTypedObject.) | |
| TypeCode | (Inherited from XPRMTypedObject.) | |
| TypeName | (Inherited from XPRMTypedObject.) |
