ucx
UAP Common Extensions
|
Internal iterator struct - use CxMutIterator. More...
#include <iterator.h>
Data Fields | |
struct cx_iterator_base_s | base |
The base properties of this iterator. | |
void * | elem_handle |
Handle for the current element, if required. | |
void * | src_handle |
Handle for the source collection, if any. | |
struct { | |
void const * key | |
A pointer to the key. | |
void * value | |
A pointer to the value. | |
} | kv_data |
Field for storing a key-value pair. | |
size_t | slot |
Field for storing a slot number. | |
size_t | index |
If the iterator is position-aware, contains the index of the element in the underlying collection. | |
Internal iterator struct - use CxMutIterator.
size_t cx_mut_iterator_s::index |
If the iterator is position-aware, contains the index of the element in the underlying collection.
Otherwise, this field is usually uninitialized.
struct { ... } cx_mut_iterator_s::kv_data |
Field for storing a key-value pair.
May be used by iterators that iterate over k/v-collections.
size_t cx_mut_iterator_s::slot |
Field for storing a slot number.
May be used by iterators that iterate over multi-bucket collections.