The cdc_hash_table_iter is a struct and functions that provide a hash table iterator.
More...
The cdc_hash_table_iter is a struct and functions that provide a hash table iterator.
◆ cdc_hash_table_iter_next()
Advances the iterator to the next element in the hash table.
- Parameters
-
◆ cdc_hash_table_iter_has_next()
Returns true if there is at least one element ahead of the iterator, i.e. the iterator is not at the back of the container; otherwise returns false.
- Parameters
-
- Returns
- true if there is at least one element ahead of the iterator, i.e. the iterator is not at the back of the container; otherwise returns false.
◆ cdc_hash_table_iter_key()
Returns an item's key.
- Parameters
-
- Returns
- the item's key.
◆ cdc_hash_table_iter_value()
Returns an item's value.
- Parameters
-
- Returns
- the item's value.
◆ cdc_hash_table_iter_key_value()
Returns a pair, where first - key, second - value.
- Parameters
-
- Returns
- pair, where first - key, second - value.
◆ cdc_hash_table_iter_is_eq()
Returns false if the iterator |it1| equal to the iterator |it2|, otherwise returns false.
- Parameters
-
[in] | it1 | - iterator |
[in] | it2 | - iterator |
- Returns
- false if the iterator |it1| equal to the iterator |it2|, otherwise returns false.