Previous | Table of Contents | Next |
3.11.4.1 Arrays
OMG IDL defines multidimensional, fixed-size arrays. An array includes explicit sizes for each dimension.
The syntax for arrays is:
(83) <array_declarator> ::= <identifier> <fixed_array_size>+
(84) <fixed_array_size> ::= “[? <positive_int_const> “]?
The array size (in each dimension) is fixed at compile time. When an array is passed as a parameter in an operation invocation,
all elements of the array are transmitted.
The implementation of array indices is language mapping specific; passing an array index as a parameter may yield incorrect
results.