libdballe 4.0.18
|
Holds the information about a DBALLE variable. More...
#include <vartable.h>
Data Fields | |
dba_varcode | var |
The variable code. | |
char | desc [64] |
The variable description. | |
char | unit [24] |
The measurement unit of the variable. | |
int | scale |
The scale of the variable. | |
int | ref |
The reference value for the variable. | |
int | len |
The length in digits of the integer representation of this variable (after scaling and changing reference value) | |
int | bit_ref |
The reference value for bit-encoding. | |
int | bit_len |
The length in bits of the variable when encoded in a bit string (after scaling and changing reference value) | |
int | is_string |
True if the variable is a string; false if it is a numeric value. | |
int | imin |
Minimum unscaled value the field can have. | |
int | imax |
Maximum unscaled value the field can have. | |
double | dmin |
Minimum scaled value the field can have. | |
double | dmax |
Maximum scaled value the field can have. | |
dba_alteration | alteration |
C-table alteration that has been applied to this entry. | |
struct _dba_varinfo * | alterations |
Othere altered versions of this varinfo. | |
char | bufr_unit [24] |
The measurement unit of the variable when encoded in BUFR. | |
int | bufr_scale |
The scale of the variable when encoded in BUFR. |
Holds the information about a DBALLE variable.
It never needs to be deallocated, as all the dba_varinfo returned by DB-ALLe are pointers to memory-cached versions that are guaranteed to exist for all the lifetime of the program.
The reference value for bit-encoding.
When the variable is encoded in a bit string, it is added this value
The scale of the variable when encoded in BUFR.
Referenced by dba_vartable_query_altered().
char _dba_varinfo::bufr_unit[24] |
The measurement unit of the variable when encoded in BUFR.
char _dba_varinfo::desc[64] |
The variable description.
Referenced by dba_record_parse_date_extremes().
The reference value for the variable.
When the variable is represented as an integer, and after scaling, it is added this value
Referenced by dba_var_decode_int(), and dba_var_encode_int().
The scale of the variable.
When the variable is represented as an integer, it is multiplied by 10**scale
Referenced by dba_var_decode_int(), dba_var_encode_int(), and dba_vartable_query_altered().
char _dba_varinfo::unit[24] |
The measurement unit of the variable.
Referenced by dba_var_copy_val().
The variable code.
See DBA_VAR, DBA_VAR_X, DBA_VAR_Y.