/* C */ int32_t sidl_int__array_get(const struct sidl_int__array* array, const int32_t indices[]); // C++ int32_t sidl::array<int32_t>::get(const int32_t indices[]); C FORTRAN 77 subroutine sidl_int__array_get_f(array, indices, result) integer*8 array integer*4 indices(), result ! FORTRAN 90 subroutine get(array, indices, result) type(sidl_int_1d), intent(in) :: array ! type depends on dimension integer (selected_int_kind(9)), dimension(:), intent(in) ::indices integer (selected_int_kind(9)), intent(out) :: result // Java public native int _get(int i, int j, int k, int l, int m, int n, int o);
This method returns the element whose index is indices for an array of any dimension. The return type of this method is the value type for the SIDL type being held (see Table 5.2). This method can be called for any positively dimensioned array. For objects and interfaces, the client owns the returned reference (i.e., the client is obliged to call deleteRef() when they are done with the reference unless it is NULL). For arrays of strings, the client owns the returned string (i.e., the client is obliged to call free() on the returned pointer unless it is NULL). There is no reliable way to determine from the return value cases when indices has an element out of bounds.