All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions
Qtilities::Core::Interfaces::IConstIterator< T > Class Template Reference

Abstract interface which defines standard operations for all const iterators in Qtilities. More...

Inheritance diagram for Qtilities::Core::Interfaces::IConstIterator< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual const T * current () const =0
 The current item in the context iterated through.
virtual const 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 const T * last ()=0
 The last item in the context iterated through.
virtual const T * next ()=0
 The next item in the context iterated through.
virtual const T * operator++ ()
 Prefix increment.
virtual const T * operator++ (int x)
 Postfix increment.
virtual const T * operator-- ()
 Prefix decrement.
virtual const T * operator-- (int x)
 Postfix decrement.
virtual const 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.

Detailed Description

template<class T>
class Qtilities::Core::Interfaces::IConstIterator< T >

Abstract interface which defines standard operations for all const iterators in Qtilities.

This class was added in Qtilities v1.0.



Qtilities : Reference Documentation Back to top Copyright © 2009-2013, Jaco Naudé