#include <vector.hpp>
Public Types | |
typedef vector::difference_type | difference_type |
typedef vector::value_type | value_type |
typedef vector::const_reference | reference |
typedef const vector::pointer | pointer |
Public Member Functions | |
BOOST_UBLAS_INLINE | const_iterator () |
BOOST_UBLAS_INLINE | const_iterator (const self_type &v, const const_subiterator_type &it) |
BOOST_UBLAS_INLINE | const_iterator (const typename self_type::iterator &it) |
BOOST_UBLAS_INLINE const_iterator & | operator++ () |
Increment by 1 the position of the iterator. More... | |
BOOST_UBLAS_INLINE const_iterator & | operator-- () |
Decrement by 1 the position of the iterator. More... | |
BOOST_UBLAS_INLINE const_iterator & | operator+= (difference_type n) |
Increment by n the position of the iterator. More... | |
BOOST_UBLAS_INLINE const_iterator & | operator-= (difference_type n) |
Decrement by n the position of the iterator. More... | |
BOOST_UBLAS_INLINE difference_type | operator- (const const_iterator &it) const |
Return the different in number of positions between 2 iterators. More... | |
BOOST_UBLAS_INLINE const_reference | operator* () const |
Dereference an iterator Dereference an iterator: a bounds' check is done before returning the value. More... | |
BOOST_UBLAS_INLINE const_reference | operator[] (difference_type n) const |
Dereference an iterator at the n-th forward value Dereference an iterator at the n-th forward value, that is the value pointed by iterator+n. More... | |
BOOST_UBLAS_INLINE size_type | index () const |
return the index of the element referenced by the iterator More... | |
BOOST_UBLAS_INLINE const_iterator & | operator= (const const_iterator &it) |
assign the value of an iterator to the iterator More... | |
BOOST_UBLAS_INLINE bool | operator== (const const_iterator &it) const |
compare the value of two itetarors More... | |
BOOST_UBLAS_INLINE bool | operator< (const const_iterator &it) const |
compare the value of two iterators More... | |
Friends | |
class | iterator |
typedef vector::difference_type boost::numeric::ublas::vector< T, A >::const_iterator::difference_type |
typedef const vector::pointer boost::numeric::ublas::vector< T, A >::const_iterator::pointer |
typedef vector::const_reference boost::numeric::ublas::vector< T, A >::const_iterator::reference |
typedef vector::value_type boost::numeric::ublas::vector< T, A >::const_iterator::value_type |
|
inline |
|
inline |
|
inline |
|
inline |
return the index of the element referenced by the iterator
References boost::numeric::ublas::vector< T, A >::begin(), BOOST_UBLAS_CHECK, and boost::numeric::ublas::vector< T, A >::end().
|
inline |
Dereference an iterator Dereference an iterator: a bounds' check is done before returning the value.
A bad_index() expection is returned if out of bounds.
References boost::numeric::ublas::vector< T, A >::begin(), BOOST_UBLAS_CHECK, and boost::numeric::ublas::vector< T, A >::end().
|
inline |
Increment by 1 the position of the iterator.
|
inline |
Increment by n the position of the iterator.
References boost::n.
|
inline |
Return the different in number of positions between 2 iterators.
References BOOST_UBLAS_CHECK.
|
inline |
Decrement by 1 the position of the iterator.
|
inline |
Decrement by n the position of the iterator.
References boost::n.
|
inline |
compare the value of two iterators
References BOOST_UBLAS_CHECK.
|
inline |
assign the value of an iterator to the iterator
References boost::assign().
|
inline |
compare the value of two itetarors
References BOOST_UBLAS_CHECK.
|
inline |
Dereference an iterator at the n-th forward value Dereference an iterator at the n-th forward value, that is the value pointed by iterator+n.
A bounds' check is done before returning the value. A bad_index() expection is returned if out of bounds.
References boost::n.
|
friend |