#include <GLIteratorStorageStl.h>
Public Member Functions | |
GLIteratorStorageStl (TStlContainer &container) | |
virtual | ~GLIteratorStorageStl () |
GLBidirectionalIterator < TOrganism > & | operator++ () |
GLBidirectionalIterator < TOrganism > & | operator-- () |
virtual TOrganism & | getElement () |
virtual const TOrganism & | getElement () const |
virtual bool | isBegin () const |
virtual bool | isEnd () const |
virtual bool | isNull () const |
Definition at line 12 of file GLIteratorStorageStl.h.
GLIteratorStorageStl< TStlContainer, TStlIterator, TOrganism >::GLIteratorStorageStl | ( | TStlContainer & | container | ) | [inline] |
Constructor -- gets the pointer on the issuing class.
container | stl container with organisms. |
issuer | pointer to the class which issued iterator. |
Definition at line 9 of file GLIteratorStorageStl.cpp.
virtual GLIteratorStorageStl< TStlContainer, TStlIterator, TOrganism >::~GLIteratorStorageStl | ( | ) | [inline, virtual] |
Simple destructor.
Definition at line 23 of file GLIteratorStorageStl.h.
const TOrganism & GLIteratorStorageStl< TStlContainer, TStlIterator, TOrganism >::getElement | ( | ) | const [inline, virtual] |
Constant method to return the pointer to the element.
Implements GLIterator< TOrganism >.
Definition at line 85 of file GLIteratorStorageStl.cpp.
TOrganism & GLIteratorStorageStl< TStlContainer, TStlIterator, TOrganism >::getElement | ( | ) | [inline, virtual] |
Method to return the pointer to the element.
Implements GLIterator< TOrganism >.
Definition at line 61 of file GLIteratorStorageStl.cpp.
virtual bool GLIteratorStorageStl< TStlContainer, TStlIterator, TOrganism >::isBegin | ( | ) | const [inline, virtual] |
Returns true if iterator points to the first element in sequence.
Implements GLIterator< TOrganism >.
Definition at line 55 of file GLIteratorStorageStl.h.
virtual bool GLIteratorStorageStl< TStlContainer, TStlIterator, TOrganism >::isEnd | ( | ) | const [inline, 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.
Implements GLIterator< TOrganism >.
Definition at line 64 of file GLIteratorStorageStl.h.
virtual bool GLIteratorStorageStl< TStlContainer, TStlIterator, TOrganism >::isNull | ( | ) | const [inline, virtual] |
Returns true if iterator points to NULL pointer and false otherwise.
Implements GLIterator< TOrganism >.
Definition at line 71 of file GLIteratorStorageStl.h.
GLBidirectionalIterator< TOrganism > & GLIteratorStorageStl< TStlContainer, TStlIterator, TOrganism >::operator++ | ( | ) | [inline, virtual] |
Operator for moving forward along the sequence. Implementation will depend on container.
Implements GLIterator< TOrganism >.
Definition at line 21 of file GLIteratorStorageStl.cpp.
GLBidirectionalIterator< TOrganism > & GLIteratorStorageStl< TStlContainer, TStlIterator, TOrganism >::operator-- | ( | ) | [inline, virtual] |
Operator for moving backward along the sequence. Implementation will depend on container.
Implements GLBidirectionalIterator< TOrganism >.
Definition at line 41 of file GLIteratorStorageStl.cpp.