-
da_status da_options_set_real_d(da_handle handle, const char *option, double value)#
Set an option, to be stored inside the
handleargument.- Parameters:
handle – [inout] the da_handle which will store the value of the option.
option – [in] the name of the option to set.
value – [in] the value to set the option to.
- Returns:
da_status. The function returns:
da_status_success - the option was successfully set.
da_status_option_not_found - the option was not found. Check the value of
option.da_status_option_locked - the option cannot be changed at this point.
da_status_option_wrong_type - the wrong option type was passed.
da_status_option_invalid_bounds - the option value is out of bounds.
da_status_option_invalid_value - cannot set option to an invalid value.
da_status_invalid_pointer - the
handlehas not been initialized.da_status_wrong_type - the
handlewas initialized with a different floating-point precision fromvalue.
-
da_status da_options_get_real_d(da_handle handle, const char *option, double *value)#
Get the current value of an option stored inside the
handleargument.- Parameters:
handle – [in] the da_handle which stores the options.
option – [in] the name of the option to get.
value – [out] the value of the option obtained from the
handle.
- Returns:
da_status. The function returns:
da_status_success - the option was successfully returned in
value.da_status_option_not_found - the option was not found. Check the value of
option.da_status_option_wrong_type - the wrong option type was passed.
da_status_invalid_pointer - the
handlehas not been initialized.da_status_wrong_type - the
handlewas initialized with a different floating-point precision fromvalue.