Function: set4


/* C */
int32_t
sidl_int__array_set4(const struct sidl_int__array* array,
                     int32_t                       i1,
                     int32_t                       i2,
                     int32_t                       i3,
                     int32_t                       i4,
                     int32_t                       value));
//
// C++
int32_t
sidl::array<int32_t>::set(int32_t i1, int32_t i2, 
                      int32_t i3, int32_t i4, int32_t value);
C
C FORTRAN 77
       subroutine sidl_int__array_set4_f(array, i1, i2, i3, i4, value)
       integer*8 array
       integer*4 i1, i2, i3, i4, value
!
! FORTRAN 90
subroutine set(array, i1, i2, i3, i4, value)
  type(sidl_int_4d), intent(in) :: array
  integer (selected_int_kind(9)), intent(in) :: i1, i2, i3, i4, value

// Java
  public void set(int i, int j, int k, int l, int value) {

This method sets the value in index (i1, i2, i3, i4) of a four dimensional array to value. The type of the argument value is the value type for the SIDL type being held (see table 5.2). This method must only be called for four dimensional arrays. For arrays of objects and interfaces, the array will make its own reference by calling addRef() on value, so the client retains its reference to value. For arrays of strings, the array will make a copy of the string, so the client retains ownership of the value pointer.





babel-0.9.6
users_guide Last Modified 2004-09-08

http://www.llnl.gov/CASC/components
components@llnl.gov