GPL_MapIterator
GPL_MapIterator
gpl
1998 12-05
CLASS
GPL_MapIterator - C++ iteration through maps
SYNOPSIS
GPL_MapIterator provides the ability to iterate through a map. The
order in which pairs are returned is arbitrary.
MEMBER FUNCTIONS
void Reset(GPL_Map<K, V> *m)
Specify the map to use for iteration with m and prepare for
iteration. This includes resetting the internal indices.
GPL_Boolean Next(void)
Iterate to the next pair in the map, if possible, and return TRUE.
Return FALSE if there are no more pairs or Reset() has not
been called.
const K & Key(void) const
Return the key for the current pair.
V & Value(void)
Return the value for the current pair.
SEE ALSO
GPL_Map(3)