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 (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.
|
| BOOST_UBLAS_INLINE const_iterator & | operator-- () |
| | Decrement by 1 the position of the iterator.
|
| BOOST_UBLAS_INLINE const_iterator & | operator+= (difference_type n) |
| | Increment by n the position of the iterator.
|
| BOOST_UBLAS_INLINE const_iterator & | operator-= (difference_type n) |
| | Decrement by n the position of the iterator.
|
|
BOOST_UBLAS_INLINE difference_type | operator- (const const_iterator &it) const |
| | Return the different in number of positions between 2 iterators.
|
| BOOST_UBLAS_INLINE const_reference | operator* () const |
| | 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.
|
| 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. A bounds' check is done before returning the value. A bad_index() expection is returned if out of bounds.
|
|
BOOST_UBLAS_INLINE size_type | index () const |
| | return the index of the element referenced by the iterator
|
|
BOOST_UBLAS_INLINE const_iterator & | operator= (const const_iterator &it) |
| | assign the value of an iterator to the iterator
|
| BOOST_UBLAS_INLINE bool | operator== (const const_iterator &it) const |
| | compare the value of two itetarors
|
| BOOST_UBLAS_INLINE bool | operator< (const const_iterator &it) const |
| | compare the value of two iterators
|
Friends |
|
class | iterator |