PolyBoRi
Public Types | Public Member Functions | Protected Attributes
polybori::reversed_iteration_adaptor Class Reference

#include <pbori_func.h>

List of all members.

Public Types

typedef BiIterator iterator
 The iterator type to be reversed.
typedef
reversed_iteration_adaptor
< iterator
self
 Generic access to type of *this.
Interface types for standard iterator access
typedef
std::bidirectional_iterator_tag 
iterator_category
typedef std::iterator_traits
< iterator >::difference_type 
difference_type
typedef std::iterator_traits
< iterator >::pointer 
pointer
typedef std::iterator_traits
< iterator >::reference 
reference
typedef std::iterator_traits
< iterator >::value_type 
value_type

Public Member Functions

 reversed_iteration_adaptor (const iterator &iter)
 Constructor.
reference operator* () const
 Dereferecing operation.
selfoperator++ ()
 Prefix increment operator.
selfoperator-- ()
 Prefix decrement operator.
bool operator== (const self &rhs) const
bool operator!= (const self &rhs) const
iterator get () const

Protected Attributes

iterator m_iter

Member Typedef Documentation

The iterator type to be reversed.

typedef std::bidirectional_iterator_tag polybori::reversed_iteration_adaptor::iterator_category

Generic access to type of *this.


Constructor & Destructor Documentation

polybori::reversed_iteration_adaptor::reversed_iteration_adaptor ( const iterator iter) [inline]

Constructor.


Member Function Documentation

iterator polybori::reversed_iteration_adaptor::get ( ) const [inline]
bool polybori::reversed_iteration_adaptor::operator!= ( const self rhs) const [inline]
reference polybori::reversed_iteration_adaptor::operator* ( ) const [inline]

Dereferecing operation.

self& polybori::reversed_iteration_adaptor::operator++ ( ) [inline]

Prefix increment operator.

self& polybori::reversed_iteration_adaptor::operator-- ( ) [inline]

Prefix decrement operator.

bool polybori::reversed_iteration_adaptor::operator== ( const self rhs) const [inline]

Member Data Documentation


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