Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Sequence< Elem, elem_ptrfree >::Iterator Class Reference

#include <Sequence.H>

List of all members.

Public Types

typedef Elem value_type
typedef Elem * pointer
typedef Elem & reference
typedef unsigned int size_type
typedef int difference_type
typedef std::bidirectional_iterator_tag iterator_category

Public Member Functions

 Iterator (Sequence< Elem, elem_ptrfree > &s, unsigned int i) throw ()
 Iterator (const Iterator &other) throw ()
bool operator== (const Iterator &other) const
bool operator!= (const Iterator &other) const
bool operator< (const Iterator &other) const
difference_type operator- (const Iterator &other) const
Iterator operator- (difference_type d)
Iterator operator+ (difference_type d)
Iteratoroperator= (const Iterator &other) throw ()
Iteratoroperator+= (difference_type d)
Iteratoroperator-= (difference_type d)
Elem & operator * () const throw ()
Iteratoroperator++ () throw ()
Iterator operator++ (int)
Iteratoroperator-- () throw ()
Iterator operator-- (int)

Private Attributes

Sequence< Elem, elem_ptrfree > & seq
unsigned int index

template<class Elem, bool elem_ptrfree = false>
class Sequence< Elem, elem_ptrfree >::Iterator


Member Typedef Documentation

template<class Elem, bool elem_ptrfree = false>
typedef int Sequence< Elem, elem_ptrfree >::Iterator::difference_type
 

Definition at line 152 of file Sequence.H.

template<class Elem, bool elem_ptrfree = false>
typedef std::bidirectional_iterator_tag Sequence< Elem, elem_ptrfree >::Iterator::iterator_category
 

Definition at line 153 of file Sequence.H.

template<class Elem, bool elem_ptrfree = false>
typedef Elem* Sequence< Elem, elem_ptrfree >::Iterator::pointer
 

Definition at line 149 of file Sequence.H.

template<class Elem, bool elem_ptrfree = false>
typedef Elem& Sequence< Elem, elem_ptrfree >::Iterator::reference
 

Definition at line 150 of file Sequence.H.

template<class Elem, bool elem_ptrfree = false>
typedef unsigned int Sequence< Elem, elem_ptrfree >::Iterator::size_type
 

Definition at line 151 of file Sequence.H.

template<class Elem, bool elem_ptrfree = false>
typedef Elem Sequence< Elem, elem_ptrfree >::Iterator::value_type
 

Definition at line 148 of file Sequence.H.


Constructor & Destructor Documentation

template<class Elem, bool elem_ptrfree = false>
Sequence< Elem, elem_ptrfree >::Iterator::Iterator Sequence< Elem, elem_ptrfree > &  s,
unsigned int  i
throw () [inline]
 

Definition at line 159 of file Sequence.H.

template<class Elem, bool elem_ptrfree = false>
Sequence< Elem, elem_ptrfree >::Iterator::Iterator const Iterator other  )  throw () [inline]
 

Definition at line 163 of file Sequence.H.


Member Function Documentation

template<class Elem, bool elem_ptrfree = false>
Elem& Sequence< Elem, elem_ptrfree >::Iterator::operator *  )  const throw () [inline]
 

Definition at line 203 of file Sequence.H.

References Sequence< Elem, elem_ptrfree >::get_ref().

template<class Elem, bool elem_ptrfree = false>
bool Sequence< Elem, elem_ptrfree >::Iterator::operator!= const Iterator other  )  const [inline]
 

Definition at line 169 of file Sequence.H.

References Sequence< Elem, elem_ptrfree >::Iterator::index, and Sequence< Elem, elem_ptrfree >::Iterator::seq.

template<class Elem, bool elem_ptrfree = false>
Iterator Sequence< Elem, elem_ptrfree >::Iterator::operator+ difference_type  d  )  [inline]
 

Definition at line 185 of file Sequence.H.

References Sequence< Elem, elem_ptrfree >::Iterator::index.

template<class Elem, bool elem_ptrfree = false>
Iterator Sequence< Elem, elem_ptrfree >::Iterator::operator++ int   )  [inline]
 

Definition at line 208 of file Sequence.H.

template<class Elem, bool elem_ptrfree = false>
Iterator& Sequence< Elem, elem_ptrfree >::Iterator::operator++  )  throw () [inline]
 

Definition at line 206 of file Sequence.H.

template<class Elem, bool elem_ptrfree = false>
Iterator& Sequence< Elem, elem_ptrfree >::Iterator::operator+= difference_type  d  )  [inline]
 

Definition at line 198 of file Sequence.H.

template<class Elem, bool elem_ptrfree = false>
Iterator Sequence< Elem, elem_ptrfree >::Iterator::operator- difference_type  d  )  [inline]
 

Definition at line 179 of file Sequence.H.

References Sequence< Elem, elem_ptrfree >::Iterator::index.

template<class Elem, bool elem_ptrfree = false>
difference_type Sequence< Elem, elem_ptrfree >::Iterator::operator- const Iterator other  )  const [inline]
 

Definition at line 174 of file Sequence.H.

References Sequence< Elem, elem_ptrfree >::Iterator::index, and Sequence< Elem, elem_ptrfree >::Iterator::seq.

template<class Elem, bool elem_ptrfree = false>
Iterator Sequence< Elem, elem_ptrfree >::Iterator::operator-- int   )  [inline]
 

Definition at line 212 of file Sequence.H.

template<class Elem, bool elem_ptrfree = false>
Iterator& Sequence< Elem, elem_ptrfree >::Iterator::operator--  )  throw () [inline]
 

Definition at line 210 of file Sequence.H.

template<class Elem, bool elem_ptrfree = false>
Iterator& Sequence< Elem, elem_ptrfree >::Iterator::operator-= difference_type  d  )  [inline]
 

Definition at line 200 of file Sequence.H.

template<class Elem, bool elem_ptrfree = false>
bool Sequence< Elem, elem_ptrfree >::Iterator::operator< const Iterator other  )  const [inline]
 

Definition at line 171 of file Sequence.H.

References Sequence< Elem, elem_ptrfree >::Iterator::index, and Sequence< Elem, elem_ptrfree >::Iterator::seq.

template<class Elem, bool elem_ptrfree = false>
Iterator& Sequence< Elem, elem_ptrfree >::Iterator::operator= const Iterator other  )  throw () [inline]
 

Definition at line 192 of file Sequence.H.

template<class Elem, bool elem_ptrfree = false>
bool Sequence< Elem, elem_ptrfree >::Iterator::operator== const Iterator other  )  const [inline]
 

Definition at line 167 of file Sequence.H.

References Sequence< Elem, elem_ptrfree >::Iterator::index, and Sequence< Elem, elem_ptrfree >::Iterator::seq.


Member Data Documentation

template<class Elem, bool elem_ptrfree = false>
unsigned int Sequence< Elem, elem_ptrfree >::Iterator::index [private]
 

Definition at line 157 of file Sequence.H.

Referenced by Sequence< Elem, elem_ptrfree >::Iterator::operator!=(), Sequence< Elem, elem_ptrfree >::Iterator::operator+(), Sequence< Elem, elem_ptrfree >::Iterator::operator-(), Sequence< Elem, elem_ptrfree >::Iterator::operator<(), and Sequence< Elem, elem_ptrfree >::Iterator::operator==().

template<class Elem, bool elem_ptrfree = false>
Sequence<Elem, elem_ptrfree>& Sequence< Elem, elem_ptrfree >::Iterator::seq [private]
 

Definition at line 156 of file Sequence.H.

Referenced by Sequence< Elem, elem_ptrfree >::Iterator::operator!=(), Sequence< Elem, elem_ptrfree >::Iterator::operator-(), Sequence< Elem, elem_ptrfree >::Iterator::operator<(), and Sequence< Elem, elem_ptrfree >::Iterator::operator==().


The documentation for this class was generated from the following file:
Generated on Mon May 8 00:49:13 2006 for Vesta by  doxygen 1.4.2