Abstract interface which defines standard operations for all non-const iterators in Qtilities. More...
Public Member Functions | |
virtual T * | current () const =0 |
Gets the current item in the context iterated through. | |
virtual T * | first ()=0 |
The first item in the context iterated through. | |
virtual bool | hasNext () |
Indicates if a next item exists. | |
virtual bool | hasPrevious () |
Indicates if a previous item exists. | |
virtual T * | last ()=0 |
The last item in the context iterated through. | |
virtual T * | next ()=0 |
The next item in the context iterated through. | |
virtual T * | operator++ () |
Prefix increment. | |
virtual T * | operator++ (int x) |
Postfix increment. | |
virtual T * | operator-- () |
Prefix decrement. | |
virtual T * | operator-- (int x) |
Postfix decrement. | |
virtual T * | previous ()=0 |
The previous item in the context iterated through. | |
virtual void | setCurrent (const T *current)=0 |
Sets the current item in the context iterated through. |
Abstract interface which defines standard operations for all non-const iterators in Qtilities.
This class was added in Qtilities v1.0.
Qtilities : Reference Documentation | Back to top |
Copyright © 2009-2013, Jaco Naudé
|