Functions | |
| void | SPI_LOC_ClearTab () |
| Deallocates all arrays in memory. | |
| int | SPI_LOC_find_first_array () |
| Finds the first free array and return its number. | |
| int | SPI_LOC_read_one_in_array (int pos, void *adr, int ind) |
| Reads a field in an array. | |
| int | SPI_LOC_read_one_int_in_array (int pos, int *ival, int ind) |
| Reads an integer in an array. | |
| int | SPI_LOC_read_one_real_in_array (int pos, double *rval, int ind) |
| Reads a real in an array. | |
| int | SPI_LOC_read_one_TR3_in_array (int pos, double *rval, int ind) |
| Reads an array of 3 reals in an array. | |
| int | SPI_LOC_read_one_TR9_in_array (int pos, double *rval, int ind) |
| Reads an array of 9 reals in an array. | |
| int | SPI_LOC_read_one_TC255_in_array (int pos, std::string &sval, int ind) |
| Reads a string in an array. | |
| int | SPI_LOC_read_number_in_array (int ind) |
| Reads the number of fields in an array. | |
| int | SPI_LOC_alloc_array (int typ, int nb, int ind) |
| Allocates an array at a given size. | |
| int | SPI_LOC_write_one_in_array (int pos, const void *adr, int ind) |
| Writes a field in an array. | |
| int | SPI_LOC_write_one_int_in_array (int pos, int ival, int ind) |
| Writes an integer in an array. | |
| int | SPI_LOC_write_one_real_in_array (int pos, double rval, int ind) |
| Writes a real in an array. | |
| int | SPI_LOC_write_one_TR3_in_array (int pos, const double *rval, int ind) |
| Writes an array of 3 reals in an array. | |
| int | SPI_LOC_write_one_TR9_in_array (int pos, double *rval, int ind) |
| Writes an array of 9 reals in an array. | |
| int | SPI_LOC_write_one_TC255_in_array (int pos, const std::string &sval, int ind) |
| Writes a string in an array. | |
| int | SPI_LOC_free_array (int ind) |
| Deallocates an array. | |
| int | SPI_LOC_realloc_array (int nnb, int ind) |
| Reallocates an array to a given size. | |
| int | SPI_LOC_write_multi_in_array (int pos, int n, void *adr, int ind) |
| Writes several values in an array. | |
| int | SPI_LOC_read_multi_in_array (int pos, int n, void *adr, int ind) |
| Reads several values in an array. | |
Arrays management
| int SPI_LOC_alloc_array | ( | int | typ, |
| int | nb, | ||
| int | ind ) |
Allocates an array at a given size.
| [in] | ind | array index to allocate |
| [in] | typ | type of field to allocate (see doc Global) |
| [in] | nb | number of fields to allocate |
| void SPI_LOC_ClearTab | ( | ) |
Deallocates all arrays in memory.
| int SPI_LOC_find_first_array | ( | ) |
Finds the first free array and return its number.
| int SPI_LOC_free_array | ( | int | ind | ) |
Deallocates an array.
| [in] | ind | index of the array to deallocate |
| int SPI_LOC_read_multi_in_array | ( | int | pos, |
| int | n, | ||
| void * | adr, | ||
| int | ind ) |
Reads several values in an array.
| [in] | pos | position in array |
| [in] | n | number of fields always >= 1 |
| [in] | ind | index of the array in which to read |
| [out] | adr | address of the table of fields to read |
| int SPI_LOC_read_number_in_array | ( | int | ind | ) |
Reads the number of fields in an array.
| [in] | ind | table index |
| int SPI_LOC_read_one_in_array | ( | int | pos, |
| void * | adr, | ||
| int | ind ) |
Reads a field in an array.
| [in] | pos | position in array |
| [in] | ind | index of the array in which to read |
| [out] | adr | address of the value read |
| int SPI_LOC_read_one_int_in_array | ( | int | pos, |
| int * | ival, | ||
| int | ind ) |
Reads an integer in an array.
| [in] | pos | position in array |
| [in] | ind | index of the array in which to read |
| [out] | ival | integer value read |
| int SPI_LOC_read_one_real_in_array | ( | int | pos, |
| double * | rval, | ||
| int | ind ) |
Reads a real in an array.
| [in] | pos | position in array |
| [in] | ind | index of the array in which to read |
| [out] | rval | real value read |
| int SPI_LOC_read_one_TC255_in_array | ( | int | pos, |
| std::string & | sval, | ||
| int | ind ) |
Reads a string in an array.
| [in] | pos | position in array |
| [in] | ind | index of the array in which to read |
| [out] | sval | string read |
| int SPI_LOC_read_one_TR3_in_array | ( | int | pos, |
| double * | rval, | ||
| int | ind ) |
Reads an array of 3 reals in an array.
| [in] | pos | position in array |
| [in] | ind | index of the array in which to read |
| [out] | rval | array read |
| int SPI_LOC_read_one_TR9_in_array | ( | int | pos, |
| double * | rval, | ||
| int | ind ) |
Reads an array of 9 reals in an array.
| [in] | pos | position in array |
| [in] | ind | index of the array in which to read |
| [out] | rval | array read |
| int SPI_LOC_realloc_array | ( | int | nnb, |
| int | ind ) |
Reallocates an array to a given size.
| [in] | ind | table index to reallocate |
| [in] | nnb | total number of array fields |
| int SPI_LOC_write_multi_in_array | ( | int | pos, |
| int | n, | ||
| void * | adr, | ||
| int | ind ) |
Writes several values in an array.
| [in] | pos | position in array |
| [in] | n | number of fields always >= 1 |
| [in] | adr | address of the table of fields to write |
| [in] | ind | index of the array in which to write |
| int SPI_LOC_write_one_in_array | ( | int | pos, |
| const void * | adr, | ||
| int | ind ) |
Writes a field in an array.
| [in] | pos | position in array |
| [in] | adr | address of the variable to write |
| [in] | ind | index of the array in which to write |
| int SPI_LOC_write_one_int_in_array | ( | int | pos, |
| int | ival, | ||
| int | ind ) |
Writes an integer in an array.
| [in] | pos | position in array |
| [in] | ival | integer to write |
| [in] | ind | index of the array in which to write |
| int SPI_LOC_write_one_real_in_array | ( | int | pos, |
| double | rval, | ||
| int | ind ) |
Writes a real in an array.
| [in] | pos | position in array |
| [in] | rval | real to write |
| [in] | ind | index of the array in which to write |
| int SPI_LOC_write_one_TC255_in_array | ( | int | pos, |
| const std::string & | sval, | ||
| int | ind ) |
Writes a string in an array.
| [in] | pos | position in array |
| [in] | sval | string to write |
| [in] | ind | index of the array in which to write |
| int SPI_LOC_write_one_TR3_in_array | ( | int | pos, |
| const double * | rval, | ||
| int | ind ) |
Writes an array of 3 reals in an array.
| [in] | pos | position in array |
| [in] | rval | array of 3 reals to write |
| [in] | ind | index of the array in which to write |
| int SPI_LOC_write_one_TR9_in_array | ( | int | pos, |
| double * | rval, | ||
| int | ind ) |
Writes an array of 9 reals in an array.
| [in] | pos | position in array |
| [in] | rval | array of 9 reals to write |
| [in] | ind | index of the array in which to write |