GClasses
|
This class iterates over the values in a hash table.
#include <GHashTable.h>
Public Member Functions | |
GHashTableEnumerator (GHashTableBase *pHashTable) | |
void * | currentValue () |
Returns the value associated with the current key. More... | |
const char * | next (void **ppOutValue) |
Gets the next element in the hash table. ppValue is set to the value and the return value is the key. Returns NULL when it reaches the end of the collection. (The first time it is called, it returns the first item in the collection.) More... | |
Protected Attributes | |
size_t | m_nModCount |
size_t | m_nPos |
GHashTableBase * | m_pHashTable |
|
inline |
void* GClasses::GHashTableEnumerator::currentValue | ( | ) |
Returns the value associated with the current key.
const char* GClasses::GHashTableEnumerator::next | ( | void ** | ppOutValue | ) |
Gets the next element in the hash table. ppValue is set to the value and the return value is the key. Returns NULL when it reaches the end of the collection. (The first time it is called, it returns the first item in the collection.)
|
protected |
|
protected |
|
protected |