13.4.3 Array outs
Array outs do not support operator->
, but do
support the following additional operator[]
member
functions to access the array elements:
-
TYPE_slice&operator[](CORBA::ULong Index); const TYPE_slice &operator[](CORBA::ULong Index) const;
- These operators return a reference to the array slice at the
specified index. An array slice is an array with all the dimensions
of the original array except the first dimension. The member
functions for the array-generated classes use a pointer to a slice
to return pointers to an array. The
Index
argument specifies the index of the slice to return. This index cannot be greater than the array dimension.
Parent topic: Using out Classes