IndirectionListIterator< T > Class Template Reference

A random access iterator class that iterates through all of the elements of an IndirectionList<T>, returning T's when dereferenced. More...

#include <IndirectionListIterator.h>

Collaboration diagram for IndirectionListIterator< T >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef
IndirectionListIterator< T > 
This_t
typedef IndirectionList< T > Domain_t
typedef T Value_t
typedef
std::random_access_iterator_tag 
iterator_category
typedef T value_type
typedef ptrdiff_t difference_type
typedef const T * pointer
typedef const T & reference

Public Member Functions

 IndirectionListIterator (const Domain_t &d, int initial_pos=0)
 IndirectionListIterator (const This_t &it)
 IndirectionListIterator ()
const Value_toperator* () const
const Value_toperator-> () const
bool operator== (const This_t &i) const
bool operator!= (const This_t &i) const
bool operator< (const This_t &i) const
bool operator<= (const This_t &i) const
bool operator> (const This_t &i) const
bool operator>= (const This_t &i) const
Value_t operator[] (int n) const
This_t operator+ (int n) const
This_t operator- (int n) const
ptrdiff_t operator- (const This_t &it) const
bool done () const
This_toperator= (const This_t &it)
This_toperator++ ()
This_toperator-- ()
This_t operator++ (int)
This_t operator-- (int)
This_t operator+= (int n)
This_t operator-= (int n)


Detailed Description

template<class T>
class IndirectionListIterator< T >

A random access iterator class that iterates through all of the elements of an IndirectionList<T>, returning T's when dereferenced.

Member Typedef Documentation

template<class T>
typedef IndirectionListIterator<T> IndirectionListIterator< T >::This_t

template<class T>
typedef IndirectionList<T> IndirectionListIterator< T >::Domain_t

template<class T>
typedef T IndirectionListIterator< T >::Value_t

template<class T>
typedef std::random_access_iterator_tag IndirectionListIterator< T >::iterator_category

template<class T>
typedef T IndirectionListIterator< T >::value_type

template<class T>
typedef ptrdiff_t IndirectionListIterator< T >::difference_type

template<class T>
typedef const T* IndirectionListIterator< T >::pointer

template<class T>
typedef const T& IndirectionListIterator< T >::reference


Constructor & Destructor Documentation

template<class T>
IndirectionListIterator< T >::IndirectionListIterator ( const Domain_t d,
int  initial_pos = 0 
) [inline]

template<class T>
IndirectionListIterator< T >::IndirectionListIterator ( const This_t it  )  [inline]

template<class T>
IndirectionListIterator< T >::IndirectionListIterator (  )  [inline]


Member Function Documentation

template<class T>
const Value_t& IndirectionListIterator< T >::operator* (  )  const [inline]

template<class T>
const Value_t* IndirectionListIterator< T >::operator-> (  )  const [inline]

template<class T>
bool IndirectionListIterator< T >::operator== ( const This_t i  )  const [inline]

template<class T>
bool IndirectionListIterator< T >::operator!= ( const This_t i  )  const [inline]

template<class T>
bool IndirectionListIterator< T >::operator< ( const This_t i  )  const [inline]

template<class T>
bool IndirectionListIterator< T >::operator<= ( const This_t i  )  const [inline]

template<class T>
bool IndirectionListIterator< T >::operator> ( const This_t i  )  const [inline]

template<class T>
bool IndirectionListIterator< T >::operator>= ( const This_t i  )  const [inline]

template<class T>
Value_t IndirectionListIterator< T >::operator[] ( int  n  )  const [inline]

template<class T>
This_t IndirectionListIterator< T >::operator+ ( int  n  )  const [inline]

template<class T>
This_t IndirectionListIterator< T >::operator- ( int  n  )  const [inline]

template<class T>
ptrdiff_t IndirectionListIterator< T >::operator- ( const This_t it  )  const [inline]

template<class T>
bool IndirectionListIterator< T >::done (  )  const [inline]

template<class T>
This_t& IndirectionListIterator< T >::operator= ( const This_t it  )  [inline]

template<class T>
This_t& IndirectionListIterator< T >::operator++ (  )  [inline]

template<class T>
This_t& IndirectionListIterator< T >::operator-- (  )  [inline]

template<class T>
This_t IndirectionListIterator< T >::operator++ ( int   )  [inline]

template<class T>
This_t IndirectionListIterator< T >::operator-- ( int   )  [inline]

template<class T>
This_t IndirectionListIterator< T >::operator+= ( int  n  )  [inline]

template<class T>
This_t IndirectionListIterator< T >::operator-= ( int  n  )  [inline]


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

Generated on Wed Mar 16 06:20:14 2011 for FreePOOMA by  doxygen 1.5.9