Claw  1.7.3
Public Types | Public Member Functions | List of all members
claw::wrapped_iterator_by_category< std::random_access_iterator_tag, Value, Iterator, Function > Class Template Reference

Base class for wrapped iterators, specialized for random iterators. More...

#include <iterator.hpp>

Public Types

typedef std::iterator_traits
< Iterator >::difference_type 
difference_type
typedef Value value_type
typedef value_type * pointer
typedef value_type & reference
typedef std::iterator_traits
< Iterator >
::iterator_category 
iterator_category
typedef
wrapped_iterator_by_category
< std::random_access_iterator_tag,
Value, Iterator, Function > 
self_type

Public Member Functions

 wrapped_iterator_by_category (const Iterator &it)
 wrapped_iterator_by_category (const Iterator &it, const Function &f)
template<typename V , typename I >
 wrapped_iterator_by_category (const wrapped_iterator_by_category< std::random_access_iterator_tag, V, I, Function > &that)
template<typename C , typename V , typename I , typename F >
 wrapped_iterator_by_category (const wrapped_iterator_by_category< C, V, I, F > &that)
const Iterator & get_iterator () const
const Function & get_function () const
self_typeoperator++ ()
self_type operator++ (int)
self_typeoperator-- ()
self_type operator-- (int)
reference operator* () const
pointer operator-> () const
bool operator== (const self_type &that) const
bool operator!= (const self_type &that) const
bool operator== (const Iterator &it) const
bool operator!= (const Iterator &it) const
bool operator< (const self_type &that) const
bool operator<= (const self_type &that) const
bool operator> (const self_type &that) const
bool operator>= (const self_type &that) const
self_typeoperator+= (int n)
self_type operator+ (int n) const
self_typeoperator-= (int n)
self_type operator- (int n) const
reference operator[] (int n)

Detailed Description

template<typename Value, typename Iterator, typename Function>
class claw::wrapped_iterator_by_category< std::random_access_iterator_tag, Value, Iterator, Function >

Base class for wrapped iterators, specialized for random iterators.

Author
Julien Jorge

Definition at line 209 of file iterator.hpp.


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