Boost.uBlas 1.49
Linear Algebra in C++: matrices, vectors and numeric algorithms

boost::numeric::ublas::reverse_iterator_base< I > Class Template Reference

Base class of all reverse iterators. (non-MSVC version) More...

#include <iterator.hpp>

List of all members.

Public Types

typedef I::container_type container_type
typedef I::difference_type difference_type
typedef I iterator_type
typedef container_type::size_type size_type

Public Member Functions

BOOST_UBLAS_INLINE reverse_iterator_base ()
BOOST_UBLAS_INLINE reverse_iterator_base (const iterator_type &it)
BOOST_UBLAS_INLINE size_type index () const
BOOST_UBLAS_INLINE const
container_type
operator() () const
BOOST_UBLAS_INLINE
reverse_iterator_base 
operator++ (int)
BOOST_UBLAS_INLINE
reverse_iterator_base
operator++ ()
BOOST_UBLAS_INLINE
reverse_iterator_base
operator+= (difference_type n)
BOOST_UBLAS_INLINE
reverse_iterator_base
operator-- ()
BOOST_UBLAS_INLINE
reverse_iterator_base 
operator-- (int)
BOOST_UBLAS_INLINE
reverse_iterator_base
operator-= (difference_type n)

Friends

BOOST_UBLAS_INLINE friend
reverse_iterator_base 
operator+ (const reverse_iterator_base &it, difference_type n)
BOOST_UBLAS_INLINE friend
reverse_iterator_base 
operator+ (difference_type n, const reverse_iterator_base &it)
BOOST_UBLAS_INLINE friend
reverse_iterator_base 
operator- (const reverse_iterator_base &it, difference_type n)
BOOST_UBLAS_INLINE friend
difference_type 
operator- (const reverse_iterator_base &it1, const reverse_iterator_base &it2)

Detailed Description

template<class I>
class boost::numeric::ublas::reverse_iterator_base< I >

Base class of all reverse iterators. (non-MSVC version)

Parameters:
Ithe derived iterator type
Tthe value type
Rthe reference type

The reverse iterator implements a bidirectional iterator reversing the elements of the underlying iterator. It implements most operators of a random access iterator.

uBLAS extension: it.index()

Definition at line 311 of file iterator.hpp.


Member Typedef Documentation

template<class I >
typedef I::container_type boost::numeric::ublas::reverse_iterator_base< I >::container_type

Definition at line 314 of file iterator.hpp.

template<class I >
typedef container_type::size_type boost::numeric::ublas::reverse_iterator_base< I >::size_type

Definition at line 315 of file iterator.hpp.

template<class I >
typedef I::difference_type boost::numeric::ublas::reverse_iterator_base< I >::difference_type

Definition at line 316 of file iterator.hpp.

template<class I >
typedef I boost::numeric::ublas::reverse_iterator_base< I >::iterator_type

Definition at line 317 of file iterator.hpp.


Constructor & Destructor Documentation

template<class I >
BOOST_UBLAS_INLINE boost::numeric::ublas::reverse_iterator_base< I >::reverse_iterator_base ( ) [inline]

Definition at line 321 of file iterator.hpp.

template<class I >
BOOST_UBLAS_INLINE boost::numeric::ublas::reverse_iterator_base< I >::reverse_iterator_base ( const iterator_type it) [inline]

Definition at line 324 of file iterator.hpp.


Member Function Documentation

template<class I >
BOOST_UBLAS_INLINE reverse_iterator_base& boost::numeric::ublas::reverse_iterator_base< I >::operator++ ( ) [inline]

Definition at line 329 of file iterator.hpp.

template<class I >
BOOST_UBLAS_INLINE reverse_iterator_base boost::numeric::ublas::reverse_iterator_base< I >::operator++ ( int  ) [inline]

Definition at line 333 of file iterator.hpp.

template<class I >
BOOST_UBLAS_INLINE reverse_iterator_base& boost::numeric::ublas::reverse_iterator_base< I >::operator-- ( ) [inline]

Definition at line 339 of file iterator.hpp.

template<class I >
BOOST_UBLAS_INLINE reverse_iterator_base boost::numeric::ublas::reverse_iterator_base< I >::operator-- ( int  ) [inline]

Definition at line 343 of file iterator.hpp.

template<class I >
BOOST_UBLAS_INLINE reverse_iterator_base& boost::numeric::ublas::reverse_iterator_base< I >::operator+= ( difference_type  n) [inline]

Definition at line 349 of file iterator.hpp.

template<class I >
BOOST_UBLAS_INLINE reverse_iterator_base& boost::numeric::ublas::reverse_iterator_base< I >::operator-= ( difference_type  n) [inline]

Definition at line 353 of file iterator.hpp.

template<class I >
BOOST_UBLAS_INLINE const container_type& boost::numeric::ublas::reverse_iterator_base< I >::operator() ( ) const [inline]

Definition at line 378 of file iterator.hpp.

template<class I >
BOOST_UBLAS_INLINE size_type boost::numeric::ublas::reverse_iterator_base< I >::index ( ) const [inline]

Definition at line 383 of file iterator.hpp.


Friends And Related Function Documentation

template<class I >
BOOST_UBLAS_INLINE friend reverse_iterator_base operator+ ( const reverse_iterator_base< I > &  it,
difference_type  n 
) [friend]

Definition at line 358 of file iterator.hpp.

template<class I >
BOOST_UBLAS_INLINE friend reverse_iterator_base operator+ ( difference_type  n,
const reverse_iterator_base< I > &  it 
) [friend]

Definition at line 363 of file iterator.hpp.

template<class I >
BOOST_UBLAS_INLINE friend reverse_iterator_base operator- ( const reverse_iterator_base< I > &  it,
difference_type  n 
) [friend]

Definition at line 368 of file iterator.hpp.

template<class I >
BOOST_UBLAS_INLINE friend difference_type operator- ( const reverse_iterator_base< I > &  it1,
const reverse_iterator_base< I > &  it2 
) [friend]

Definition at line 373 of file iterator.hpp.


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