Wiselib
Public Types | Public Member Functions
wiselib::reverse_iterator< Iterator_P > Class Template Reference

allows to step backwards More...

#include <reverse_iterator.h>

List of all members.

Public Types

typedef reverse_iterator
< Iterator_P > 
iterator_type
typedef Iterator_P::reference reference
typedef Iterator_P::pointer pointer

Public Member Functions

 reverse_iterator (Iterator_P iterator)
 default constructor
reference operator* () const
pointer operator-> () const
iterator_typeoperator++ ()
iterator_type operator++ (int)
iterator_typeoperator-- ()
iterator_type operator-- (int)
bool operator== (const reverse_iterator &x) const
bool operator!= (const reverse_iterator &x) const

Detailed Description

template<typename Iterator_P>
class wiselib::reverse_iterator< Iterator_P >

allows to step backwards


Member Typedef Documentation

template<typename Iterator_P >
typedef reverse_iterator<Iterator_P> wiselib::reverse_iterator< Iterator_P >::iterator_type
template<typename Iterator_P >
typedef Iterator_P::pointer wiselib::reverse_iterator< Iterator_P >::pointer
template<typename Iterator_P >
typedef Iterator_P::reference wiselib::reverse_iterator< Iterator_P >::reference

Constructor & Destructor Documentation

template<typename Iterator_P >
wiselib::reverse_iterator< Iterator_P >::reverse_iterator ( Iterator_P  iterator) [inline]

default constructor


Member Function Documentation

template<typename Iterator_P >
bool wiselib::reverse_iterator< Iterator_P >::operator!= ( const reverse_iterator< Iterator_P > &  x) const [inline]
template<typename Iterator_P >
reference wiselib::reverse_iterator< Iterator_P >::operator* ( ) const [inline]
template<typename Iterator_P >
iterator_type wiselib::reverse_iterator< Iterator_P >::operator++ ( int  ) [inline]
template<typename Iterator_P >
iterator_type& wiselib::reverse_iterator< Iterator_P >::operator++ ( ) [inline]
template<typename Iterator_P >
iterator_type& wiselib::reverse_iterator< Iterator_P >::operator-- ( ) [inline]
template<typename Iterator_P >
iterator_type wiselib::reverse_iterator< Iterator_P >::operator-- ( int  ) [inline]
template<typename Iterator_P >
pointer wiselib::reverse_iterator< Iterator_P >::operator-> ( ) const [inline]
template<typename Iterator_P >
bool wiselib::reverse_iterator< Iterator_P >::operator== ( const reverse_iterator< Iterator_P > &  x) const [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines