Logo MTL4

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

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


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 file:


iterator_adaptor< SubClass, Iterator > Class Template Reference -- MTL 4 -- Peter Gottschling and Andrew Lumsdaine -- Generated on 24 Aug 2009 by Doxygen 1.5.9 -- Copyright 2008-09 by TU Dresden and the Trustees of Indiana University.