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

#include <OpenGUI_Iterators.h>

List of all members.


Detailed Description

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

This is a generic list iterator encapsulation class.


Public Member Functions

void moveNext ()
 Moves to next item.
void movePrev ()
 Moves to previous item.
ValueType getNext ()
 Returns current item and moves to next item.
ValueType getValue ()
 Returns the value 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>
ValueType OpenGUI::ListIterator< T, I >::getNext  )  [inline]
 

Returns current item and moves to next item.

template<class T, typename I>
ValueType OpenGUI::ListIterator< T, I >::getValue  )  [inline]
 

Returns the value of the current item.

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

Returns true if there are more items.

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

Returns true if there are no more items.

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

Moves to next item.

template<class T, typename I>
void OpenGUI::ListIterator< 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: Sun Sep 9 02:00:21 2007