Functions | |
int | hps_array_create (array_t **array) |
Creates a C array_t object for storing an array. | |
int | hps_array_build (array_t **array, void *data, int type, int nb,...) |
Creates a C array_t object from a C array of any dimension. | |
int | hps_array_destroy (array_t **array) |
Destroys a C array_t object. | |
int | hps_array_get (array_t *array, hpobj_t **obj, int nb,...) |
Gets an element from an array. | |
int | hps_array_add (array_t *array, hpobj_t *obj) |
Adds an element to the end of a array. | |
int | hps_array_add_type (array_t *array, int type, void *data) |
Adds an element of the specified type to the end of an array. | |
int | hps_array_add_int (array_t *array, long long value) |
Adds an integer to the end of a array. | |
int | hps_array_add_uint (array_t *array, unsigned long long value) |
Adds an unsigned integer to the end of a array. | |
int | hps_array_add_real (array_t *array, double value) |
Adds a real to the end of a array. | |
int | hps_array_add_complex (array_t *array, complex_t *value) |
Adds a complex to the end of a array. | |
int | hps_array_add_str (array_t *array, char *value) |
Adds a string to the end of a array. | |
int | hps_array_add_list (array_t *array, list_t *value) |
Adds a list to the end of a array. | |
int | hps_array_add_array (array_t *array, array_t *value) |
Adds an array to the end of a array. | |
int | hps_array_add_ident (array_t *array, char *value) |
Adds an ident to the end of a array. |
|
Adds an element to the end of a array. This function adds a C hpobj_t object at the end of the specified array.
|
|
Adds an array to the end of a array. This function adds an array element which value is provided at the end of the specified array.
|
|
Adds a complex to the end of a array. This function adds a complex element which value is provided at the end of the specified array.
|
|
Adds an ident to the end of a array. This function adds an ident element which value is provided at the end of the specified array.
|
|
Adds an integer to the end of a array. This function adds an integer element which value is provided at the end of the specified array.
|
|
Adds a list to the end of a array. This function adds a list element which value is provided at the end of the specified array.
|
|
Adds a real to the end of a array. This function adds a real element which value is provided at the end of the specified array.
|
|
Adds a string to the end of a array. This function adds a string element which value is provided at the end of the specified array.
|
|
Adds an element of the specified type to the end of an array. This function adds an element (described by its type and a pointer to its data) at the end of the specified array.
|
|
Adds an unsigned integer to the end of a array. This function adds an unsigned integer element which value is provided at the end of the specified array.
|
|
Creates a C array_t object from a C array of any dimension. This function creates an array and fills it with the content of the C array passed as argument
|
|
Creates a C array_t object for storing an array. This function creates an array that can be later filled unsing hp_array_add... functions.
|
|
Destroys a C array_t object. This function destroys recursively an array.
|
|
Gets an element from an array. This function gets an element identified by its indices from an array. Th numebr od indices is passd as a parameter, as well as the list of indices.
|