mirror of https://github.com/ecmwf/eccodes.git
ECC-1467: Add codes_keys_iterator_get_float
This commit is contained in:
parent
4cb2e123e1
commit
cc4ef5a62d
|
@ -472,10 +472,16 @@ int codes_keys_iterator_get_long(const grib_keys_iterator* kiter, long* v, size_
|
|||
{
|
||||
return grib_keys_iterator_get_long(kiter, v, len);
|
||||
}
|
||||
|
||||
int codes_keys_iterator_get_double(const grib_keys_iterator* kiter, double* v, size_t* len)
|
||||
{
|
||||
return grib_keys_iterator_get_double(kiter, v, len);
|
||||
}
|
||||
int codes_keys_iterator_get_float(const grib_keys_iterator* kiter, float* v, size_t* len)
|
||||
{
|
||||
return grib_keys_iterator_get_float(kiter, v, len);
|
||||
}
|
||||
|
||||
int codes_keys_iterator_get_string(const grib_keys_iterator* kiter, char* v, size_t* len)
|
||||
{
|
||||
return grib_keys_iterator_get_string(kiter, v, len);
|
||||
|
|
|
@ -1316,6 +1316,7 @@ int codes_keys_iterator_rewind(codes_keys_iterator* kiter);
|
|||
int codes_keys_iterator_set_flags(codes_keys_iterator* kiter, unsigned long flags);
|
||||
int codes_keys_iterator_get_long(const codes_keys_iterator* kiter, long* v, size_t* len);
|
||||
int codes_keys_iterator_get_double(const codes_keys_iterator* kiter, double* v, size_t* len);
|
||||
int codes_keys_iterator_get_float(const codes_keys_iterator* kiter, float* v, size_t* len);
|
||||
int codes_keys_iterator_get_string(const codes_keys_iterator* kiter, char* v, size_t* len);
|
||||
int codes_keys_iterator_get_bytes(const codes_keys_iterator* kiter, unsigned char* v, size_t* len);
|
||||
|
||||
|
|
|
@ -1153,6 +1153,7 @@ grib_accessor* grib_keys_iterator_get_accessor(grib_keys_iterator* kiter);
|
|||
int grib_keys_iterator_delete(grib_keys_iterator* kiter);
|
||||
int grib_keys_iterator_get_long(const grib_keys_iterator* kiter, long* v, size_t* len);
|
||||
int grib_keys_iterator_get_double(const grib_keys_iterator* kiter, double* v, size_t* len);
|
||||
int grib_keys_iterator_get_float(const grib_keys_iterator* kiter, float* v, size_t* len);
|
||||
int grib_keys_iterator_get_string(const grib_keys_iterator* kiter, char* v, size_t* len);
|
||||
int grib_keys_iterator_get_bytes(const grib_keys_iterator* kiter, unsigned char* v, size_t* len);
|
||||
int grib_keys_iterator_get_native_type(const grib_keys_iterator* kiter);
|
||||
|
|
|
@ -1319,6 +1319,7 @@ int grib_keys_iterator_set_flags(grib_keys_iterator* kiter, unsigned long flags)
|
|||
|
||||
int grib_keys_iterator_get_long(const grib_keys_iterator* kiter, long* v, size_t* len);
|
||||
int grib_keys_iterator_get_double(const grib_keys_iterator* kiter, double* v, size_t* len);
|
||||
int grib_keys_iterator_get_float(const grib_keys_iterator* kiter, float* v, size_t* len);
|
||||
int grib_keys_iterator_get_string(const grib_keys_iterator* kiter, char* v, size_t* len);
|
||||
int grib_keys_iterator_get_bytes(const grib_keys_iterator* kiter, unsigned char* v, size_t* len);
|
||||
int codes_copy_key(grib_handle* h1, grib_handle* h2, const char* key, int type);
|
||||
|
|
|
@ -207,6 +207,10 @@ int grib_keys_iterator_get_double(const grib_keys_iterator* kiter, double* v, si
|
|||
{
|
||||
return grib_unpack_double(kiter->current, v, len);
|
||||
}
|
||||
int grib_keys_iterator_get_float(const grib_keys_iterator* kiter, float* v, size_t* len)
|
||||
{
|
||||
return grib_unpack_float(kiter->current, v, len);
|
||||
}
|
||||
|
||||
int grib_keys_iterator_get_string(const grib_keys_iterator* kiter, char* v, size_t* len)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue