Logo MTL4
Public Types | Public Member Functions
iterator_adaptor< SubClass, Iterator > Class Template Reference

#include <iterator_adaptor.h>

List of all members.

Public Types

typedef std::iterator_traits
< Iterator >::value_type 
value_type
 wheredef: TrivialIterator
typedef std::iterator_traits
< Iterator >::difference_type 
difference_type
 wheredef: InputIterator
typedef std::iterator_traits
< Iterator >::value_type 
value_type
 wheredef: TrivialIterator
typedef std::iterator_traits
< Iterator >::difference_type 
difference_type
 wheredef: InputIterator

Public Member Functions

 iterator_adaptor (SubClass &me_)
 wheredef: iterator_adaptor
 iterator_adaptor (SubClass &me_, const Iterator &x)
 wheredef: iterator_adaptor
 operator Iterator ()
 wheredef: iterator_adaptor
Iterator base () const
 wheredef: iterator_adaptor
reference operator* () const
 wheredef: Trivial Iterator
SubClass & operator++ ()
 wheredef: Forward Iterator
SubClass operator++ (int)
 wheredef: Forward Iterator
SubClass & operator-- ()
 wheredef: Bidirectional Iterator
SubClass operator-- (int)
 wheredef: Bidirectional Iterator
SubClass operator+ (Distance n) const
 wheredef: Random Access Iterator
SubClass & operator+= (Distance n)
 wheredef: Random Access Iterator
SubClass operator- (Distance n) const
 wheredef: Random Access Iterator
SubClass & operator-= (Distance n)
 wheredef: Random Access Iterator
bool operator!= (const SubClass &y) const
 wheredef: Trivial Iterator
bool operator< (const SubClass &y) const
 wheredef: Random Access Iterator
 iterator_adaptor (SubClass &me_)
 wheredef: iterator_adaptor
 iterator_adaptor (SubClass &me_, const Iterator &x)
 wheredef: iterator_adaptor
 operator Iterator ()
 wheredef: iterator_adaptor
Iterator base () const
 wheredef: iterator_adaptor
reference operator* () const
 wheredef: Trivial Iterator
SubClass & operator++ ()
 wheredef: Forward Iterator
SubClass operator++ (int)
 wheredef: Forward Iterator
SubClass & operator-- ()
 wheredef: Bidirectional Iterator
SubClass operator-- (int)
 wheredef: Bidirectional Iterator
SubClass operator+ (Distance n) const
 wheredef: Random Access Iterator
SubClass & operator+= (Distance n)
 wheredef: Random Access Iterator
SubClass operator- (Distance n) const
 wheredef: Random Access Iterator
SubClass & operator-= (Distance n)
 wheredef: Random Access Iterator
bool operator!= (const SubClass &y) const
 wheredef: Trivial Iterator
bool operator< (const SubClass &y) const
 wheredef: Random Access Iterator

Detailed Description

template<class SubClass, class Iterator>
class iterator_adaptor< SubClass, Iterator >

category: iterators, adaptors component: type tparam: SubClass - The class that inherits from this class tparam: Iterator - The iterator to be adapted


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


iterator_adaptor< SubClass, Iterator > Class Template Reference -- MTL 4 -- Peter Gottschling and Andrew Lumsdaine -- Gen. with rev. 7542 on Sat Aug 11 2012 by doxygen 1.7.6.1 -- © 2010 by SimuNova UG.