Simple Application Framework  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Saf::Collection::Deque< T >::Iterator Class Reference

Random-access mutable Deque iterator. More...

#include <Deque.h>

Inheritance diagram for Saf::Collection::Deque< T >::Iterator:
Saf::Collection::Deque< T >::ConstIterator

List of all members.

Public Member Functions

 Iterator ()
 Default constructor.
 Iterator (Size ofs, MyType &deque)
 Constructor.
 Iterator (const Iterator &iter)
 Copy constructor.
T & operator* () const
 Value reference.
Iterator operator+ (Diff offset) const
 Offset operator.
Iteratoroperator++ ()
 Preincrement operator.
Iterator operator++ (int)
 Postincrement operator.
Iteratoroperator+= (Diff offset)
 Offset operator.
Iterator operator- (Diff offset) const
 Offset operator.
Diff operator- (const Iterator &it) const
 Difference operator.
Iteratoroperator-- ()
 Predecrement operator.
Iterator operator-- (int)
 Postdecrement operator.
Iteratoroperator-= (Diff offset)
 Offset operator.
T * operator-> () const
 Value pointer.
Iteratoroperator= (const Iterator &iter)
 Assignment operator.
T & operator[] (Diff ofs) const
 Subscript operator.

Detailed Description

template<class T>
class Saf::Collection::Deque< T >::Iterator

Random-access mutable Deque iterator.


Constructor & Destructor Documentation

template<class T >
Saf::Collection::Deque< T >::Iterator::Iterator ( ) [inline]

Default constructor.

template<class T >
Saf::Collection::Deque< T >::Iterator::Iterator ( Size  ofs,
MyType deque 
) [inline, explicit]

Constructor.

template<class T >
Saf::Collection::Deque< T >::Iterator::Iterator ( const Iterator iter) [inline]

Copy constructor.


Member Function Documentation

template<class T >
T& Saf::Collection::Deque< T >::Iterator::operator* ( ) const [inline]

Value reference.

Reimplemented from Saf::Collection::Deque< T >::ConstIterator.

template<class T >
Iterator Saf::Collection::Deque< T >::Iterator::operator+ ( Diff  offset) const [inline]

Offset operator.

Reimplemented from Saf::Collection::Deque< T >::ConstIterator.

template<class T >
Iterator& Saf::Collection::Deque< T >::Iterator::operator++ ( ) [inline]

Preincrement operator.

Reimplemented from Saf::Collection::Deque< T >::ConstIterator.

template<class T >
Iterator Saf::Collection::Deque< T >::Iterator::operator++ ( int  ) [inline]

Postincrement operator.

Reimplemented from Saf::Collection::Deque< T >::ConstIterator.

template<class T >
Iterator& Saf::Collection::Deque< T >::Iterator::operator+= ( Diff  offset) [inline]

Offset operator.

Reimplemented from Saf::Collection::Deque< T >::ConstIterator.

template<class T >
Iterator Saf::Collection::Deque< T >::Iterator::operator- ( Diff  offset) const [inline]

Offset operator.

Reimplemented from Saf::Collection::Deque< T >::ConstIterator.

template<class T >
Diff Saf::Collection::Deque< T >::Iterator::operator- ( const Iterator it) const [inline]

Difference operator.

template<class T >
Iterator& Saf::Collection::Deque< T >::Iterator::operator-- ( ) [inline]

Predecrement operator.

Reimplemented from Saf::Collection::Deque< T >::ConstIterator.

template<class T >
Iterator Saf::Collection::Deque< T >::Iterator::operator-- ( int  ) [inline]

Postdecrement operator.

Reimplemented from Saf::Collection::Deque< T >::ConstIterator.

template<class T >
Iterator& Saf::Collection::Deque< T >::Iterator::operator-= ( Diff  offset) [inline]

Offset operator.

Reimplemented from Saf::Collection::Deque< T >::ConstIterator.

template<class T >
T* Saf::Collection::Deque< T >::Iterator::operator-> ( ) const [inline]

Value pointer.

Reimplemented from Saf::Collection::Deque< T >::ConstIterator.

template<class T >
Iterator& Saf::Collection::Deque< T >::Iterator::operator= ( const Iterator iter) [inline]

Assignment operator.

template<class T >
T& Saf::Collection::Deque< T >::Iterator::operator[] ( Diff  ofs) const [inline]

Subscript operator.

Reimplemented from Saf::Collection::Deque< T >::ConstIterator.


The documentation for this class was generated from the following file: