OpenGUI::MapIterator< T, I > Class Template Reference

#include <OpenGUI_Iterators.h>

List of all members.


Detailed Description

template<class T, typename I>
class OpenGUI::MapIterator< T, I >

This is a generic map iterator encapsulation class.


Public Member Functions

void moveNext ()
 Moves to next item.
void movePrev ()
 Moves to previous item.
MappedType getNext ()
 Returns current item and moves to next item.
MappedType getValue ()
 Returns the value half of the current item.
KeyType getKey ()
 Returns the key half of the current item.
bool hasMore ()
 Returns true if there are more items.
bool isEnd ()
 Returns true if there are no more items.


Member Function Documentation

template<class T, typename I>
KeyType OpenGUI::MapIterator< T, I >::getKey (  )  [inline]

Returns the key half of the current item.

template<class T, typename I>
MappedType OpenGUI::MapIterator< T, I >::getNext (  )  [inline]

Returns current item and moves to next item.

template<class T, typename I>
MappedType OpenGUI::MapIterator< T, I >::getValue (  )  [inline]

Returns the value half of the current item.

template<class T, typename I>
bool OpenGUI::MapIterator< T, I >::hasMore (  )  [inline]

Returns true if there are more items.

template<class T, typename I>
bool OpenGUI::MapIterator< T, I >::isEnd (  )  [inline]

Returns true if there are no more items.

template<class T, typename I>
void OpenGUI::MapIterator< T, I >::moveNext (  )  [inline]

Moves to next item.

template<class T, typename I>
void OpenGUI::MapIterator< T, I >::movePrev (  )  [inline]

Moves to previous item.


The documentation for this class was generated from the following file:
Copyright © 2006 OpenGUI | OpenGUI.SF.net
Generated: Fri Jan 5 23:05:25 2007