Defines | |
#define | GRIB_KEYS_ITERATOR_ALL_KEYS 0 |
#define | GRIB_KEYS_ITERATOR_SKIP_READ_ONLY (1<<0) |
#define | GRIB_KEYS_ITERATOR_SKIP_OPTIONAL (1<<1) |
#define | GRIB_KEYS_ITERATOR_SKIP_EDITION_SPECIFIC (1<<2) |
#define | GRIB_KEYS_ITERATOR_SKIP_CODED (1<<3) |
#define | GRIB_KEYS_ITERATOR_SKIP_COMPUTED (1<<4) |
#define | GRIB_KEYS_ITERATOR_SKIP_DUPLICATES (1<<5) |
#define | GRIB_KEYS_ITERATOR_SKIP_FUNCTION (1<<6) |
Typedefs | |
typedef struct grib_keys_iterator | grib_keys_iterator |
Functions | |
grib_keys_iterator * | grib_keys_iterator_new (grib_handle *h, unsigned long filter_flags, char *name_space) |
int | grib_keys_iterator_next (grib_keys_iterator *kiter) |
const char * | grib_keys_iterator_get_name (grib_keys_iterator *kiter) |
int | grib_keys_iterator_delete (grib_keys_iterator *kiter) |
int | grib_keys_iterator_rewind (grib_keys_iterator *kiter) |
#define GRIB_KEYS_ITERATOR_ALL_KEYS 0 |
Iteration is carried out on all the keys available in the message
#define GRIB_KEYS_ITERATOR_SKIP_CODED (1<<3) |
#define GRIB_KEYS_ITERATOR_SKIP_COMPUTED (1<<4) |
#define GRIB_KEYS_ITERATOR_SKIP_DUPLICATES (1<<5) |
#define GRIB_KEYS_ITERATOR_SKIP_EDITION_SPECIFIC (1<<2) |
#define GRIB_KEYS_ITERATOR_SKIP_FUNCTION (1<<6) |
#define GRIB_KEYS_ITERATOR_SKIP_OPTIONAL (1<<1) |
#define GRIB_KEYS_ITERATOR_SKIP_READ_ONLY (1<<0) |
typedef struct grib_keys_iterator grib_keys_iterator |
Grib keys iterator. Iterator over keys.
int grib_keys_iterator_delete | ( | grib_keys_iterator * | kiter | ) |
Delete the iterator.
kiter | : valid grib_keys_iterator |
const char* grib_keys_iterator_get_name | ( | grib_keys_iterator * | kiter | ) |
get the key name from the iterator
kiter | : valid grib_keys_iterator |
grib_keys_iterator* grib_keys_iterator_new | ( | grib_handle * | h, | |
unsigned long | filter_flags, | |||
char * | name_space | |||
) |
Create a new iterator from a valid and initialized handle.
h | : the handle whose keys you want to iterate | |
filter_flags | : flags to filter out some of the keys through their attributes | |
name_space | : if not null the iteration is carried out only on keys belongin to the namespace passed. (NULL for all the keys) |
int grib_keys_iterator_next | ( | grib_keys_iterator * | kiter | ) |
Step to the next iterator.
kiter | : valid grib_keys_iterator |
int grib_keys_iterator_rewind | ( | grib_keys_iterator * | kiter | ) |
Rewind the iterator.
kiter | : valid grib_keys_iterator |