#include <GLIterators.h>
Public Member Functions | |
GLIterator () | |
virtual | ~GLIterator () |
T & | operator* () |
const T & | operator* () const |
virtual GLIterator< T > & | operator++ ()=0 |
virtual T & | getElement ()=0 |
virtual const T & | getElement () const =0 |
virtual bool | isBegin () const =0 |
virtual bool | isEnd () const =0 |
virtual bool | isNull () const =0 |
virtual GLIterator * | moveNext () |
Definition at line 13 of file GLIterators.h.
GLIterator< T >::GLIterator | ( | ) | [inline] |
Creates new iterator.
Definition at line 19 of file GLIterators.h.
virtual GLIterator< T >::~GLIterator | ( | ) | [inline, virtual] |
Destroys everything.
Definition at line 24 of file GLIterators.h.
virtual const T& GLIterator< T >::getElement | ( | ) | const [pure virtual] |
Method to return the pointer to the element.
Implemented in GLIteratorStorageStl< TStlContainer, TStlIterator, TOrganism >.
virtual T& GLIterator< T >::getElement | ( | ) | [pure virtual] |
Method to return the pointer to the element.
Implemented in GLIteratorStorageStl< TStlContainer, TStlIterator, TOrganism >.
virtual bool GLIterator< T >::isBegin | ( | ) | const [pure virtual] |
Returns true if iterator points to the first element in sequence.
Implemented in GLIteratorStorageStl< TStlContainer, TStlIterator, TOrganism >.
virtual bool GLIterator< T >::isEnd | ( | ) | const [pure virtual] |
Returns true if iterator points beyond the last element in sequence. Always true for empty sequences. If isEnd() == true the status of the pointer is undefined.
Implemented in GLIteratorStorageStl< TStlContainer, TStlIterator, TOrganism >.
virtual bool GLIterator< T >::isNull | ( | ) | const [pure virtual] |
Returns true if iterator points to NULL pointer and false otherwise.
Implemented in GLIteratorStorageStl< TStlContainer, TStlIterator, TOrganism >.
virtual GLIterator* GLIterator< T >::moveNext | ( | ) | [inline, virtual] |
Moves forward along the sequence.
Definition at line 83 of file GLIterators.h.
const T& GLIterator< T >::operator* | ( | ) | const [inline] |
Operator to return the pointer to the element.
Definition at line 37 of file GLIterators.h.
T& GLIterator< T >::operator* | ( | ) | [inline] |
Operator to return the pointer to the element.
Definition at line 30 of file GLIterators.h.
virtual GLIterator<T>& GLIterator< T >::operator++ | ( | ) | [pure virtual] |
Operator for moving forward along the sequence. Implementation will depend on container.
Implemented in GLIteratorStorageStl< TStlContainer, TStlIterator, TOrganism >.