Logo Search packages:      
Sourcecode: dballe version File versions

dba_err dba_record_key_enqd ( dba_record  rec,
dba_keyword  parameter,
double *  value 

Get the value of a parameter, correctly scaled, in double precision.

The function will fail if the value is a string instead of a number.

rec The record to get the value from.
parameter The parameter to get the value for.
Return values:
value The variable where the value should be stored.
The error indicator for the function.

Definition at line 521 of file dba_record.c.


      dba_var var;
      DBA_RUN_OR_RETURN(get_key(rec, parameter, &var));
      return dba_var_enqd(var, val);

Generated by  Doxygen 1.6.0   Back to index