Functions | |
int | hpd_rcl_int (char *name, long long *val) |
Recalls a DOINT RPL object from the current or an upper directory, and puts its value into the variable passed as argument. | |
int | hpd_rcl_uint (char *name, unsigned long long *val) |
Recalls a DOHXS RPL object from the current or an upper directory, and puts its value into the variable passed as argument. | |
int | hpd_rcl_real (char *name, double *val) |
Recalls a DOREAL RPL object from the current or an upper directory, and puts its value into the variable passed as argument. | |
int | hpd_rcl_complex (char *name, complex_t *val) |
Recalls a DOCMP RPL object from the current or an upper directory, and puts its value into the variable passed as argument. | |
int | hpd_rcl_str (char *name, char **val) |
Recalls a DOCSTR RPL object from the current or an upper directory, and puts its value into the variable passed as argument. | |
int | hpd_rcl_ident (char *name, char **val) |
Recalls a DOIDENT RPL object from the current or an upper directory, and puts its value into the variable passed as argument. | |
int | hpd_rcl_list (char *name, list_t **val) |
Recalls a DOLIST RPL object from the current or an upper directory, and puts its value into the variable passed as argument. | |
int | hpd_rcl_array (char *name, array_t **val) |
Recalls a DOMATRIX or DOARRY RPL object from the current or an upper directory, and puts its value into the variable passed as argument. | |
int | hpd_rcl_symb (char *name, entry_t **val) |
Recalls a DOSYMB RPL object from the current or an upper directory, and puts its value into the variable passed as argument. | |
char * | hpd_error (int error) |
Returns a string associated with an error code. |
char* hpd_error | ( | int | error | ) |
Returns a string associated with an error code.
This function returns a string describing the error associated with the error code passed as parameter.
error | The error code |
int hpd_rcl_array | ( | char * | name, | |
array_t ** | val | |||
) |
Recalls a DOMATRIX or DOARRY RPL object from the current or an upper directory, and puts its value into the variable passed as argument.
This function searches for the variable in the current or upper directory. The value is read if the type matches.
name | The name of the object | |
val | The pointer to the read value |
int hpd_rcl_complex | ( | char * | name, | |
complex_t * | val | |||
) |
Recalls a DOCMP RPL object from the current or an upper directory, and puts its value into the variable passed as argument.
This function searches for the variable in the current or upper directory. The value is read if the type matches.
name | The name of the object | |
val | The pointer to the read value |
int hpd_rcl_ident | ( | char * | name, | |
char ** | val | |||
) |
Recalls a DOIDENT RPL object from the current or an upper directory, and puts its value into the variable passed as argument.
This function searches for the variable in the current or upper directory. The value is read if the type matches.
name | The name of the object | |
val | The pointer to the read value |
int hpd_rcl_int | ( | char * | name, | |
long long * | val | |||
) |
Recalls a DOINT RPL object from the current or an upper directory, and puts its value into the variable passed as argument.
This function searches for the variable in the current or upper directory. The value is read if the type matches, or if the convert flag is set (see hps_convert) and the type is convertable. The authorized conversions are described below : DOHXS (unsigned long long) -> DOINT (long long) DOREAL (double) -> DOINT (long long)
name | The name of the object | |
val | The pointer to the read value |
int hpd_rcl_list | ( | char * | name, | |
list_t ** | val | |||
) |
Recalls a DOLIST RPL object from the current or an upper directory, and puts its value into the variable passed as argument.
This function searches for the variable in the current or upper directory. The value is read if the type matches.
name | The name of the object | |
val | The pointer to the read value |
int hpd_rcl_real | ( | char * | name, | |
double * | val | |||
) |
Recalls a DOREAL RPL object from the current or an upper directory, and puts its value into the variable passed as argument.
This function searches for the variable in the current or upper directory. The value is read if the type match, or if the convert flag is set (see hps_convert) and the type is convertable. The authorized conversions are described below : DOHXS (unsigned long long) -> DOREAL (double) DOINT (long long) -> DOREAL (double) DOCMP (complex_t) -> DOREAL (double) if imaginary part is null
name | The name of the object | |
val | The pointer to the read value |
int hpd_rcl_str | ( | char * | name, | |
char ** | val | |||
) |
Recalls a DOCSTR RPL object from the current or an upper directory, and puts its value into the variable passed as argument.
This function searches for the variable in the current or upper directory. The value is read if the type matches.
name | The name of the object | |
val | The pointer to the read value |
int hpd_rcl_symb | ( | char * | name, | |
entry_t ** | val | |||
) |
Recalls a DOSYMB RPL object from the current or an upper directory, and puts its value into the variable passed as argument.
This function searches for the variable in the current or upper directory. The value is read if the type matches.
name | The name of the object | |
val | The pointer to the read value |
int hpd_rcl_uint | ( | char * | name, | |
unsigned long long * | val | |||
) |
Recalls a DOHXS RPL object from the current or an upper directory, and puts its value into the variable passed as argument.
This function searches for the variable in the current or upper directory. The value is read if the type matches.
name | The name of the object | |
val | The pointer to the read value |