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

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

2nd 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_base2 ()
BOOST_UBLAS_INLINE reverse_iterator_base2 (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_base2 
operator++ (int)
BOOST_UBLAS_INLINE
reverse_iterator_base2
operator++ ()
BOOST_UBLAS_INLINE
reverse_iterator_base2
operator+= (difference_type n)
BOOST_UBLAS_INLINE
reverse_iterator_base2
operator-- ()
BOOST_UBLAS_INLINE
reverse_iterator_base2 
operator-- (int)
BOOST_UBLAS_INLINE
reverse_iterator_base2
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_base2 
operator+ (const reverse_iterator_base2 &it, difference_type n)
BOOST_UBLAS_INLINE friend
reverse_iterator_base2 
operator+ (difference_type n, const reverse_iterator_base2 &it)
BOOST_UBLAS_INLINE friend
reverse_iterator_base2 
operator- (const reverse_iterator_base2 &it, difference_type n)
BOOST_UBLAS_INLINE friend
difference_type 
operator- (const reverse_iterator_base2 &it1, const reverse_iterator_base2 &it2)

Detailed Description

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

2nd 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()

Note: this type is _identical_ to reverse_iterator_base1

Definition at line 527 of file iterator.hpp.


Member Typedef Documentation

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

Definition at line 530 of file iterator.hpp.

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

Definition at line 531 of file iterator.hpp.

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

Definition at line 532 of file iterator.hpp.

Definition at line 533 of file iterator.hpp.

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

Definition at line 534 of file iterator.hpp.

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

Definition at line 535 of file iterator.hpp.


Constructor & Destructor Documentation

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

Definition at line 539 of file iterator.hpp.

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

Definition at line 542 of file iterator.hpp.


Member Function Documentation

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

Definition at line 547 of file iterator.hpp.

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

Definition at line 551 of file iterator.hpp.

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

Definition at line 557 of file iterator.hpp.

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

Definition at line 561 of file iterator.hpp.

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

Definition at line 567 of file iterator.hpp.

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

Definition at line 571 of file iterator.hpp.

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

Definition at line 596 of file iterator.hpp.

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

Definition at line 601 of file iterator.hpp.

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

Definition at line 606 of file iterator.hpp.

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

Definition at line 612 of file iterator.hpp.

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

Definition at line 617 of file iterator.hpp.

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

Definition at line 622 of file iterator.hpp.

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

Definition at line 626 of file iterator.hpp.


Friends And Related Function Documentation

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

Definition at line 576 of file iterator.hpp.

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

Definition at line 581 of file iterator.hpp.

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

Definition at line 586 of file iterator.hpp.

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

Definition at line 591 of file iterator.hpp.


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