KzcHashSetIterator Struct Reference

Accessor to the contents of a KzcHashSet. More...

#include <kanzi/core/legacy/util/collection/kzc_hash_set.hpp>

Public Attributes

struct KzcHashMapIterator mapIterator_private
 Hash map iterator corresponding the hash set iterator. More...
 

Detailed Description

Accessor to the contents of a KzcHashSet.

Usage

The following example code shows how to iterate over the elements in a hash set.

while (kzcHashSetIterate(it))
{
struct SomeStruct* value = (struct SomeStruct*)kzcHashSetIteratorPointerGetValue(it);
somestruct_some_operation(value);
// ... etc ...
if (condition_for_breaking_out_of_the_loop)
}

Alternative accessor functions are listed in kzc_hash_set_accessors_h.inl.

Member Data Documentation

struct KzcHashMapIterator KzcHashSetIterator::mapIterator_private

Hash map iterator corresponding the hash set iterator.


The documentation for this struct was generated from the following file: