Fonctions | |
| void | SPI_LOC_ClearTab () |
| Désalloue tous les tableaux présent en mémoire. | |
| int | SPI_LOC_find_first_array () |
| Trouve le premier tableau libre et renvoi son numéro. | |
| int | SPI_LOC_read_one_in_array (int pos, void *adr, int ind) |
| Lit un champs dans un tableau. | |
| int | SPI_LOC_read_one_int_in_array (int pos, int *ival, int ind) |
| Lit un entier dans un tableau. | |
| int | SPI_LOC_read_one_real_in_array (int pos, double *rval, int ind) |
| Lit un réel dans un tableau. | |
| int | SPI_LOC_read_one_TR3_in_array (int pos, double *rval, int ind) |
| Lit un tableau de 3 réels dans un tableau. | |
| int | SPI_LOC_read_one_TR9_in_array (int pos, double *rval, int ind) |
| Lit un tableau de 9 réels dans un tableau. | |
| int | SPI_LOC_read_one_TC255_in_array (int pos, std::string &sval, int ind) |
| Lit une chaîne dans un tableau. | |
| int | SPI_LOC_read_number_in_array (int ind) |
| Lit le nombre de champs dans un tableau. | |
| int | SPI_LOC_alloc_array (int typ, int nb, int ind) |
| Alloue un tableau à une taille donnée. | |
| int | SPI_LOC_write_one_in_array (int pos, const void *adr, int ind) |
| Ecrit un champs dans un tableau. | |
| int | SPI_LOC_write_one_int_in_array (int pos, int ival, int ind) |
| Ecrit un entier un tableau. | |
| int | SPI_LOC_write_one_real_in_array (int pos, double rval, int ind) |
| Ecrit un réel dans un tableau. | |
| int | SPI_LOC_write_one_TR3_in_array (int pos, const double *rval, int ind) |
| Ecrit un tableau de 3 réels dans un tableau. | |
| int | SPI_LOC_write_one_TR9_in_array (int pos, double *rval, int ind) |
| Ecrit un tableau de 9 reels dans un tableau. | |
| int | SPI_LOC_write_one_TC255_in_array (int pos, const std::string &sval, int ind) |
| Ecrit une chaîne dans un tableau. | |
| int | SPI_LOC_free_array (int ind) |
| Désalloue un tableau. | |
| int | SPI_LOC_realloc_array (int nnb, int ind) |
| Réalloue un tableau à une taille donnée. | |
| int | SPI_LOC_write_multi_in_array (int pos, int n, void *adr, int ind) |
| Ecrit plusieurs valeurs dans un tableau. | |
| int | SPI_LOC_read_multi_in_array (int pos, int n, void *adr, int ind) |
| Lit plusieurs valeurs dans un tableau. | |
Gestion des tableaux
| int SPI_LOC_alloc_array | ( | int | typ, |
| int | nb, | ||
| int | ind ) |
Alloue un tableau à une taille donnée.
| [in] | ind | indice du tableau à allouer |
| [in] | typ | type de champ à allouer (voir doc Globales) |
| [in] | nb | nombre de champ à allouer |
| void SPI_LOC_ClearTab | ( | ) |
Désalloue tous les tableaux présent en mémoire.
| int SPI_LOC_find_first_array | ( | ) |
Trouve le premier tableau libre et renvoi son numéro.
| int SPI_LOC_free_array | ( | int | ind | ) |
Désalloue un tableau.
| [in] | ind | indice du tableau à désallouer |
| int SPI_LOC_read_multi_in_array | ( | int | pos, |
| int | n, | ||
| void * | adr, | ||
| int | ind ) |
Lit plusieurs valeurs dans un tableau.
| [in] | pos | position dans le tableau |
| [in] | n | nombre de champs toujours >= 1 |
| [in] | ind | indice du tableau dans lequel il faut lire |
| [out] | adr | adresse de la table des champs à lire |
| int SPI_LOC_read_number_in_array | ( | int | ind | ) |
Lit le nombre de champs dans un tableau.
| [in] | ind | indice du tableau |
| int SPI_LOC_read_one_in_array | ( | int | pos, |
| void * | adr, | ||
| int | ind ) |
Lit un champs dans un tableau.
| [in] | pos | position dans le tableau |
| [in] | ind | indice du tableau dans lequel il faut lire |
| [out] | adr | adresse de la valeur lue |
| int SPI_LOC_read_one_int_in_array | ( | int | pos, |
| int * | ival, | ||
| int | ind ) |
Lit un entier dans un tableau.
| [in] | pos | position dans le tableau |
| [in] | ind | indice du tableau dans lequel il faut lire |
| [out] | ival | valeur entière lue |
| int SPI_LOC_read_one_real_in_array | ( | int | pos, |
| double * | rval, | ||
| int | ind ) |
Lit un réel dans un tableau.
| [in] | pos | position dans le tableau |
| [in] | ind | indice du tableau dans lequel il faut lire |
| [out] | rval | valeur réelle lue |
| int SPI_LOC_read_one_TC255_in_array | ( | int | pos, |
| std::string & | sval, | ||
| int | ind ) |
Lit une chaîne dans un tableau.
| [in] | pos | position dans le tableau |
| [in] | ind | indice du tableau dans lequel il faut lire |
| [out] | sval | chaîne lue |
| int SPI_LOC_read_one_TR3_in_array | ( | int | pos, |
| double * | rval, | ||
| int | ind ) |
Lit un tableau de 3 réels dans un tableau.
| [in] | pos | position dans le tableau |
| [in] | ind | indice du tableau dans lequel il faut lire |
| [out] | rval | tableau lu |
| int SPI_LOC_read_one_TR9_in_array | ( | int | pos, |
| double * | rval, | ||
| int | ind ) |
Lit un tableau de 9 réels dans un tableau.
| [in] | pos | position dans le tableau |
| [in] | ind | indice du tableau dans lequel il faut lire |
| [out] | rval | tableau lu |
| int SPI_LOC_realloc_array | ( | int | nnb, |
| int | ind ) |
Réalloue un tableau à une taille donnée.
| [in] | ind | indice du tableau à réallouer |
| [in] | nnb | nombre total de champs du tableau |
| int SPI_LOC_write_multi_in_array | ( | int | pos, |
| int | n, | ||
| void * | adr, | ||
| int | ind ) |
Ecrit plusieurs valeurs dans un tableau.
| [in] | pos | position dans le tableau |
| [in] | n | nombre de champs toujours >= 1 |
| [in] | adr | adresse de la table des champs à écrire |
| [in] | ind | indice du tableau dans lequel il faut écrire |
| int SPI_LOC_write_one_in_array | ( | int | pos, |
| const void * | adr, | ||
| int | ind ) |
Ecrit un champs dans un tableau.
| [in] | pos | position dans le tableau |
| [in] | adr | adresse de la variable à écrire |
| [in] | ind | indice du tableau dans lequel il faut écrire |
| int SPI_LOC_write_one_int_in_array | ( | int | pos, |
| int | ival, | ||
| int | ind ) |
Ecrit un entier un tableau.
| [in] | pos | position dans le tableau |
| [in] | ival | entier à écrire |
| [in] | ind | indice du tableau dans lequel il faut écrire |
| int SPI_LOC_write_one_real_in_array | ( | int | pos, |
| double | rval, | ||
| int | ind ) |
Ecrit un réel dans un tableau.
| [in] | pos | position dans le tableau |
| [in] | rval | réel à écrire |
| [in] | ind | indice du tableau dans lequel il faut écrire |
| int SPI_LOC_write_one_TC255_in_array | ( | int | pos, |
| const std::string & | sval, | ||
| int | ind ) |
Ecrit une chaîne dans un tableau.
| [in] | pos | position dans le tableau |
| [in] | sval | chaîne à ecrire |
| [in] | ind | indice du tableau dans lequel il faut écrire |
| int SPI_LOC_write_one_TR3_in_array | ( | int | pos, |
| const double * | rval, | ||
| int | ind ) |
Ecrit un tableau de 3 réels dans un tableau.
| [in] | pos | position dans le tableau |
| [in] | rval | tableau de 3 réels à écrire |
| [in] | ind | indice du tableau dans lequel il faut écrire |
| int SPI_LOC_write_one_TR9_in_array | ( | int | pos, |
| double * | rval, | ||
| int | ind ) |
Ecrit un tableau de 9 reels dans un tableau.
| [in] | pos | position dans le tableau |
| [in] | rval | tableau de 9 réels à écrire |
| [in] | ind | indice du tableau dans lequel il faut écrire |