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

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

1st base class of all matrix 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::dual_iterator_type dual_iterator_type
typedef
I::dual_reverse_iterator_type 
dual_reverse_iterator_type
typedef I iterator_type
typedef container_type::size_type size_type

Public Member Functions

BOOST_UBLAS_INLINE reverse_iterator_base1 ()
BOOST_UBLAS_INLINE reverse_iterator_base1 (const iterator_type &it)
BOOST_UBLAS_INLINE
dual_iterator_type 
begin () const
BOOST_UBLAS_INLINE
dual_iterator_type 
end () const
BOOST_UBLAS_INLINE size_type index1 () const
BOOST_UBLAS_INLINE size_type index2 () const
BOOST_UBLAS_INLINE const
container_type
operator() () const
BOOST_UBLAS_INLINE
reverse_iterator_base1 
operator++ (int)
BOOST_UBLAS_INLINE
reverse_iterator_base1
operator++ ()
BOOST_UBLAS_INLINE
reverse_iterator_base1
operator+= (difference_type n)
BOOST_UBLAS_INLINE
reverse_iterator_base1
operator-- ()
BOOST_UBLAS_INLINE
reverse_iterator_base1 
operator-- (int)
BOOST_UBLAS_INLINE
reverse_iterator_base1
operator-= (difference_type n)
BOOST_UBLAS_INLINE
dual_reverse_iterator_type 
rbegin () const
BOOST_UBLAS_INLINE
dual_reverse_iterator_type 
rend () const

Friends

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

Detailed Description

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

1st base class of all matrix reverse iterators. (non-MSVC version)

Parameters:
Ithe derived iterator 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.index1(), it.index2() and access to the dual iterator via begin(), end(), rbegin(), rend()

Definition at line 405 of file iterator.hpp.


Member Typedef Documentation

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

Definition at line 408 of file iterator.hpp.

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

Definition at line 409 of file iterator.hpp.

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

Definition at line 410 of file iterator.hpp.

Definition at line 411 of file iterator.hpp.

template<class I >
typedef I::dual_iterator_type boost::numeric::ublas::reverse_iterator_base1< I >::dual_iterator_type

Definition at line 412 of file iterator.hpp.

template<class I >
typedef I::dual_reverse_iterator_type boost::numeric::ublas::reverse_iterator_base1< I >::dual_reverse_iterator_type

Definition at line 413 of file iterator.hpp.


Constructor & Destructor Documentation

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

Definition at line 417 of file iterator.hpp.

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

Definition at line 420 of file iterator.hpp.


Member Function Documentation

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

Definition at line 425 of file iterator.hpp.

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

Definition at line 429 of file iterator.hpp.

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

Definition at line 435 of file iterator.hpp.

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

Definition at line 439 of file iterator.hpp.

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

Definition at line 445 of file iterator.hpp.

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

Definition at line 449 of file iterator.hpp.

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

Definition at line 474 of file iterator.hpp.

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

Definition at line 479 of file iterator.hpp.

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

Definition at line 484 of file iterator.hpp.

template<class I >
BOOST_UBLAS_INLINE dual_iterator_type boost::numeric::ublas::reverse_iterator_base1< I >::begin ( ) const [inline]

Definition at line 490 of file iterator.hpp.

template<class I >
BOOST_UBLAS_INLINE dual_iterator_type boost::numeric::ublas::reverse_iterator_base1< I >::end ( ) const [inline]

Definition at line 495 of file iterator.hpp.

template<class I >
BOOST_UBLAS_INLINE dual_reverse_iterator_type boost::numeric::ublas::reverse_iterator_base1< I >::rbegin ( ) const [inline]

Definition at line 500 of file iterator.hpp.

template<class I >
BOOST_UBLAS_INLINE dual_reverse_iterator_type boost::numeric::ublas::reverse_iterator_base1< I >::rend ( ) const [inline]

Definition at line 504 of file iterator.hpp.


Friends And Related Function Documentation

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

Definition at line 454 of file iterator.hpp.

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

Definition at line 459 of file iterator.hpp.

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

Definition at line 464 of file iterator.hpp.

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

Definition at line 469 of file iterator.hpp.


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