![]() |
Boost.uBlas 1.49
Linear Algebra in C++: matrices, vectors and numeric algorithms
|
A class implementing an indexed random access iterator. More...
#include <iterator.hpp>
A class implementing an indexed random access iterator.
C | the (immutable) container type |
IC | the iterator category |
This class implements a random access iterator. The current position is stored as the unsigned integer it_
and the values are accessed via operator()(it_)
of the container.
uBLAS extension: index()
Note: there is an automatic conversion from indexed_iterator
to indexed_const_iterator
Definition at line 752 of file iterator.hpp.
typedef C boost::numeric::ublas::indexed_const_iterator< C, IC >::container_type |
Reimplemented from boost::numeric::ublas::container_const_reference< C >.
Definition at line 759 of file iterator.hpp.
typedef IC boost::numeric::ublas::indexed_const_iterator< C, IC >::iterator_category |
Definition at line 760 of file iterator.hpp.
typedef container_type::size_type boost::numeric::ublas::indexed_const_iterator< C, IC >::size_type |
Definition at line 761 of file iterator.hpp.
typedef container_type::difference_type boost::numeric::ublas::indexed_const_iterator< C, IC >::difference_type |
Definition at line 762 of file iterator.hpp.
typedef container_type::value_type boost::numeric::ublas::indexed_const_iterator< C, IC >::value_type |
Definition at line 763 of file iterator.hpp.
typedef container_type::const_reference boost::numeric::ublas::indexed_const_iterator< C, IC >::reference |
Definition at line 764 of file iterator.hpp.
typedef indexed_iterator<container_type, iterator_category> boost::numeric::ublas::indexed_const_iterator< C, IC >::iterator_type |
Definition at line 765 of file iterator.hpp.
typedef indexed_const_iterator< C, IC > boost::numeric::ublas::random_access_iterator_base< IC, indexed_const_iterator< C, IC > , C::value_type , C::difference_type >::derived_iterator_type [inherited] |
Definition at line 205 of file iterator.hpp.
typedef C::value_type boost::numeric::ublas::random_access_iterator_base< IC, indexed_const_iterator< C, IC > , C::value_type , C::difference_type >::derived_value_type [inherited] |
Definition at line 206 of file iterator.hpp.
typedef C::difference_type boost::numeric::ublas::random_access_iterator_base< IC, indexed_const_iterator< C, IC > , C::value_type , C::difference_type >::derived_difference_type [inherited] |
Definition at line 207 of file iterator.hpp.
BOOST_UBLAS_INLINE boost::numeric::ublas::indexed_const_iterator< C, IC >::indexed_const_iterator | ( | ) | [inline] |
Definition at line 769 of file iterator.hpp.
BOOST_UBLAS_INLINE boost::numeric::ublas::indexed_const_iterator< C, IC >::indexed_const_iterator | ( | const container_type & | c, |
size_type | it | ||
) | [inline] |
Definition at line 772 of file iterator.hpp.
BOOST_UBLAS_INLINE boost::numeric::ublas::indexed_const_iterator< C, IC >::indexed_const_iterator | ( | const iterator_type & | it | ) | [inline] |
Definition at line 775 of file iterator.hpp.
BOOST_UBLAS_INLINE indexed_const_iterator& boost::numeric::ublas::indexed_const_iterator< C, IC >::operator++ | ( | ) | [inline] |
Definition at line 780 of file iterator.hpp.
BOOST_UBLAS_INLINE indexed_const_iterator& boost::numeric::ublas::indexed_const_iterator< C, IC >::operator-- | ( | ) | [inline] |
Definition at line 785 of file iterator.hpp.
BOOST_UBLAS_INLINE indexed_const_iterator& boost::numeric::ublas::indexed_const_iterator< C, IC >::operator+= | ( | difference_type | n | ) | [inline] |
Definition at line 790 of file iterator.hpp.
BOOST_UBLAS_INLINE indexed_const_iterator& boost::numeric::ublas::indexed_const_iterator< C, IC >::operator-= | ( | difference_type | n | ) | [inline] |
Definition at line 795 of file iterator.hpp.
BOOST_UBLAS_INLINE difference_type boost::numeric::ublas::indexed_const_iterator< C, IC >::operator- | ( | const indexed_const_iterator< C, IC > & | it | ) | const [inline] |
Definition at line 800 of file iterator.hpp.
BOOST_UBLAS_INLINE reference boost::numeric::ublas::indexed_const_iterator< C, IC >::operator* | ( | ) | const [inline] |
Definition at line 807 of file iterator.hpp.
BOOST_UBLAS_INLINE reference boost::numeric::ublas::indexed_const_iterator< C, IC >::operator[] | ( | difference_type | n | ) | const [inline] |
Definition at line 812 of file iterator.hpp.
BOOST_UBLAS_INLINE size_type boost::numeric::ublas::indexed_const_iterator< C, IC >::index | ( | ) | const [inline] |
Definition at line 818 of file iterator.hpp.
BOOST_UBLAS_INLINE indexed_const_iterator& boost::numeric::ublas::indexed_const_iterator< C, IC >::operator= | ( | const indexed_const_iterator< C, IC > & | it | ) | [inline] |
Definition at line 824 of file iterator.hpp.
BOOST_UBLAS_INLINE bool boost::numeric::ublas::indexed_const_iterator< C, IC >::operator== | ( | const indexed_const_iterator< C, IC > & | it | ) | const [inline] |
Definition at line 834 of file iterator.hpp.
BOOST_UBLAS_INLINE bool boost::numeric::ublas::indexed_const_iterator< C, IC >::operator< | ( | const indexed_const_iterator< C, IC > & | it | ) | const [inline] |
Definition at line 839 of file iterator.hpp.
BOOST_UBLAS_INLINE const container_type& boost::numeric::ublas::container_const_reference< C >::operator() | ( | ) | const [inline, inherited] |
Definition at line 41 of file iterator.hpp.
BOOST_UBLAS_INLINE container_const_reference& boost::numeric::ublas::container_const_reference< C >::assign | ( | const container_type * | c | ) | [inline, inherited] |
Definition at line 46 of file iterator.hpp.
BOOST_UBLAS_INLINE bool boost::numeric::ublas::container_const_reference< C >::same_closure | ( | const container_const_reference< C > & | cr | ) | const [inline, inherited] |
Definition at line 53 of file iterator.hpp.
BOOST_UBLAS_INLINE derived_iterator_type boost::numeric::ublas::random_access_iterator_base< IC, indexed_const_iterator< C, IC > , C::value_type , C::difference_type >::operator++ | ( | int | ) | [inline, inherited] |
Definition at line 220 of file iterator.hpp.
BOOST_UBLAS_INLINE derived_iterator_type boost::numeric::ublas::random_access_iterator_base< IC, indexed_const_iterator< C, IC > , C::value_type , C::difference_type >::operator-- | ( | int | ) | [inline, inherited] |
Definition at line 233 of file iterator.hpp.
BOOST_UBLAS_INLINE derived_iterator_type boost::numeric::ublas::random_access_iterator_base< IC, indexed_const_iterator< C, IC > , C::value_type , C::difference_type >::operator+ | ( | derived_difference_type | n | ) | const [inline, inherited] |
Definition at line 246 of file iterator.hpp.
BOOST_UBLAS_INLINE derived_iterator_type boost::numeric::ublas::random_access_iterator_base< IC, indexed_const_iterator< C, IC > , C::value_type , C::difference_type >::operator- | ( | derived_difference_type | n | ) | const [inline, inherited] |
Definition at line 261 of file iterator.hpp.
BOOST_UBLAS_INLINE bool boost::numeric::ublas::random_access_iterator_base< IC, indexed_const_iterator< C, IC > , C::value_type , C::difference_type >::operator!= | ( | const derived_iterator_type & | it | ) | const [inline, inherited] |
Definition at line 273 of file iterator.hpp.
BOOST_UBLAS_INLINE bool boost::numeric::ublas::random_access_iterator_base< IC, indexed_const_iterator< C, IC > , C::value_type , C::difference_type >::operator<= | ( | const derived_iterator_type & | it | ) | const [inline, inherited] |
Definition at line 278 of file iterator.hpp.
BOOST_UBLAS_INLINE bool boost::numeric::ublas::random_access_iterator_base< IC, indexed_const_iterator< C, IC > , C::value_type , C::difference_type >::operator>= | ( | const derived_iterator_type & | it | ) | const [inline, inherited] |
Definition at line 283 of file iterator.hpp.
BOOST_UBLAS_INLINE bool boost::numeric::ublas::random_access_iterator_base< IC, indexed_const_iterator< C, IC > , C::value_type , C::difference_type >::operator> | ( | const derived_iterator_type & | it | ) | const [inline, inherited] |
Definition at line 288 of file iterator.hpp.
friend class indexed_iterator< container_type, iterator_category > [friend] |
Definition at line 847 of file iterator.hpp.
BOOST_UBLAS_INLINE friend derived_iterator_type operator++ | ( | derived_iterator_type & | d, |
int | |||
) | [friend, inherited] |
Definition at line 227 of file iterator.hpp.
BOOST_UBLAS_INLINE friend derived_iterator_type operator-- | ( | derived_iterator_type & | d, |
int | |||
) | [friend, inherited] |
Definition at line 240 of file iterator.hpp.
BOOST_UBLAS_INLINE friend derived_iterator_type operator+ | ( | const derived_iterator_type & | d, |
derived_difference_type | n | ||
) | [friend, inherited] |
Definition at line 251 of file iterator.hpp.
BOOST_UBLAS_INLINE friend derived_iterator_type operator+ | ( | derived_difference_type | n, |
const derived_iterator_type & | d | ||
) | [friend, inherited] |
Definition at line 256 of file iterator.hpp.
BOOST_UBLAS_INLINE friend derived_iterator_type operator- | ( | const derived_iterator_type & | d, |
derived_difference_type | n | ||
) | [friend, inherited] |
Definition at line 266 of file iterator.hpp.
size_type boost::numeric::ublas::indexed_const_iterator< C, IC >::it_ [private] |
Definition at line 845 of file iterator.hpp.