#include <StringTable.h>
Public Member Functions | |
| KeyIterator (StringTable &table) | |
| int | hasMoreKeys () const |
| const std::string & | nextElement () |
Protected Attributes | |
| StringMap::const_iterator | it |
| iterator to keep track of the KeyIterator | |
| StringMap & | map |
| the actual StringMap we are working with | |
|
|
constructor to create a new KeyIterator for a given StringTable. It initializes the iterator and sets it to the first key.
|
|
|
tests if there are more keys to see.
|
|
|
returns the key at the current location and advances the iterator by one.
|
|
|
iterator to keep track of the KeyIterator
|
|
|
the actual StringMap we are working with
|
1.4.6