poser
A C framework for POsix SERvices
|
An iterator over the contents of a PSC_HashTable. More...
#include <poser/core/hashtable.h>
Public Member Functions | |
int | PSC_HashTableIterator_moveNext (PSC_HashTableIterator *self) |
Move to the next position. | |
const char * | PSC_HashTableIterator_key (const PSC_HashTableIterator *self) |
Gets the key at the current position. | |
void * | PSC_HashTableIterator_current (const PSC_HashTableIterator *self) |
Gets the object at the current position. | |
void | PSC_HashTableIterator_destroy (PSC_HashTableIterator *self) |
PSC_HashTableIterator destructor. | |
An iterator over the contents of a PSC_HashTable.
void * PSC_HashTableIterator_current | ( | const PSC_HashTableIterator * | self | ) |
Gets the object at the current position.
self | the PSC_HashTableIterator |
void PSC_HashTableIterator_destroy | ( | PSC_HashTableIterator * | self | ) |
PSC_HashTableIterator destructor.
self | the PSC_HashTableIterator |
const char * PSC_HashTableIterator_key | ( | const PSC_HashTableIterator * | self | ) |
Gets the key at the current position.
self | the PSC_HashTableIterator |
int PSC_HashTableIterator_moveNext | ( | PSC_HashTableIterator * | self | ) |
Move to the next position.
If the position was invalid, move to the first position. If the position was pointing to the last entry, move to invalid position.
self | the PSC_HashTableIterator |