List< T >::Iterator< Const, Forward > Class Template Reference

}@ More...

#include "List.hpp"

Classes

struct  ConstSel
struct  ConstSel< T1, true >

Public Types

typedef
std::bidirectional_iterator_tag 
iterator_category
typedef T value_type
typedef List< T >::difference_type difference_type
typedef ConstSel< T, Const >
::Type & 
reference
typedef ConstSel< T, Const >
::Type * 
pointer
typedef Iterator< true, Forward > ConstIterator

Public Member Functions

 Iterator (const Iterator &other)
 operator ConstIterator () const
Iteratoroperator= (const Iterator &other)
reference operator* () const
pointer operator-> () const
Iteratoroperator++ ()
Iterator operator++ (int)
Iteratoroperator-- ()
Iterator operator-- (int)
bool operator== (const Iterator< true, Forward > &other) const
bool operator== (const Iterator< false, Forward > &other) const
bool operator!= (const Iterator< true, Forward > &other) const
bool operator!= (const Iterator< false, Forward > &other) const

Detailed Description

template<class T>
template<bool Const, bool Forward>
class opals::List< T >::Iterator< Const, Forward >

}@

Template Parameters
Constconstant-ness
Forwardforward/reverse traversal

A bidirectional iterator class for List

Author
wk
Date
02.02.2011