module CORBA { interface ArrayDef : IDLType { attribute unsigned long <length>; readonly attribute TypeCode <element_type>; attribute IDLType <element_type_def>; }; };
An ArrayDef
represents an IDL array type.
Array types are anonymous. ArrayDef
is not derived from TypedefDef or Contained.
An ArrayDef
represents one dimension of an array. You represent multi-dimensional IDL arrays using multiple ArrayDef
objects, one per array dimension.
The <element_type_def>
attribute of the ArrayDef
representing the leftmost index of the array, as defined in IDL, refers to the ArrayDef
representing the next index to the right, and so on. The rightmost
index is represented by the innermost ArrayDef
and the element type of a multi-dimensional array.
The inherited type attribute is a tk_array TypeCode
describing the array.
The <element_type>
attribute is updated by setting the <element_type_def>
attribute. Setting the bound or <element_type_def>
attribute also updates the <element_type>
attribute.
<length>
<element_type>
<element_type_def>