All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
KzcHashSetIterator Struct Reference

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

#include <core/util/collection/kzc_hash_set.h>

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: