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

boost::numeric::ublas::vector< T, A >::iterator Class Reference

#include <vector.hpp>

Inheritance diagram for boost::numeric::ublas::vector< T, A >::iterator:
Collaboration diagram for boost::numeric::ublas::vector< T, A >::iterator:

List of all members.

Public Types

typedef vector container_type
typedef difference_type derived_difference_type
typedef iterator derived_iterator_type
typedef value_type derived_value_type
typedef vector::difference_type difference_type
typedef vector::pointer pointer
typedef vector::reference reference
typedef vector::value_type value_type

Public Member Functions

BOOST_UBLAS_INLINE iterator ()
BOOST_UBLAS_INLINE iterator (self_type &v, const subiterator_type &it)
BOOST_UBLAS_INLINE
container_reference
assign (container_type *c)
BOOST_UBLAS_INLINE size_type index () const
BOOST_UBLAS_INLINE bool operator!= (const derived_iterator_type &it) const
BOOST_UBLAS_INLINE container_typeoperator() () const
BOOST_UBLAS_INLINE reference operator* () const
BOOST_UBLAS_INLINE
derived_iterator_type 
operator+ (derived_difference_type n) const
BOOST_UBLAS_INLINE
derived_iterator_type 
operator++ (int)
BOOST_UBLAS_INLINE iteratoroperator++ ()
BOOST_UBLAS_INLINE iteratoroperator+= (difference_type n)
BOOST_UBLAS_INLINE
derived_iterator_type 
operator- (derived_difference_type n) const
BOOST_UBLAS_INLINE difference_type operator- (const iterator &it) const
BOOST_UBLAS_INLINE iteratoroperator-- ()
BOOST_UBLAS_INLINE
derived_iterator_type 
operator-- (int)
BOOST_UBLAS_INLINE iteratoroperator-= (difference_type n)
BOOST_UBLAS_INLINE bool operator< (const iterator &it) const
BOOST_UBLAS_INLINE bool operator<= (const derived_iterator_type &it) const
BOOST_UBLAS_INLINE iteratoroperator= (const iterator &it)
BOOST_UBLAS_INLINE bool operator== (const iterator &it) const
BOOST_UBLAS_INLINE bool operator> (const derived_iterator_type &it) const
BOOST_UBLAS_INLINE bool operator>= (const derived_iterator_type &it) const
BOOST_UBLAS_INLINE reference operator[] (difference_type n) const
BOOST_UBLAS_INLINE bool same_closure (const container_reference &cr) const

Private Attributes

subiterator_type it_

Friends

class const_iterator
BOOST_UBLAS_INLINE friend
derived_iterator_type 
operator+ (const derived_iterator_type &d, derived_difference_type n)
BOOST_UBLAS_INLINE friend
derived_iterator_type 
operator+ (derived_difference_type n, const derived_iterator_type &d)
BOOST_UBLAS_INLINE friend
derived_iterator_type 
operator++ (derived_iterator_type &d, int)
BOOST_UBLAS_INLINE friend
derived_iterator_type 
operator- (const derived_iterator_type &d, derived_difference_type n)
BOOST_UBLAS_INLINE friend
derived_iterator_type 
operator-- (derived_iterator_type &d, int)

Detailed Description

template<class T, class A>
class boost::numeric::ublas::vector< T, A >::iterator

Definition at line 639 of file vector.hpp.


Member Typedef Documentation

Definition at line 644 of file vector.hpp.

template<class T, class A>
typedef vector::value_type boost::numeric::ublas::vector< T, A >::iterator::value_type

Definition at line 645 of file vector.hpp.

template<class T, class A>
typedef vector::reference boost::numeric::ublas::vector< T, A >::iterator::reference

Definition at line 646 of file vector.hpp.

template<class T, class A>
typedef vector::pointer boost::numeric::ublas::vector< T, A >::iterator::pointer

Definition at line 647 of file vector.hpp.

Definition at line 70 of file iterator.hpp.


Constructor & Destructor Documentation

template<class T, class A>
BOOST_UBLAS_INLINE boost::numeric::ublas::vector< T, A >::iterator::iterator ( ) [inline]

Definition at line 652 of file vector.hpp.

template<class T, class A>
BOOST_UBLAS_INLINE boost::numeric::ublas::vector< T, A >::iterator::iterator ( self_type v,
const subiterator_type it 
) [inline]

Definition at line 655 of file vector.hpp.


Member Function Documentation

template<class T, class A>
BOOST_UBLAS_INLINE iterator& boost::numeric::ublas::vector< T, A >::iterator::operator++ ( ) [inline]

Definition at line 660 of file vector.hpp.

template<class T, class A>
BOOST_UBLAS_INLINE iterator& boost::numeric::ublas::vector< T, A >::iterator::operator-- ( ) [inline]

Definition at line 665 of file vector.hpp.

template<class T, class A>
BOOST_UBLAS_INLINE iterator& boost::numeric::ublas::vector< T, A >::iterator::operator+= ( difference_type  n) [inline]

Definition at line 670 of file vector.hpp.

template<class T, class A>
BOOST_UBLAS_INLINE iterator& boost::numeric::ublas::vector< T, A >::iterator::operator-= ( difference_type  n) [inline]

Definition at line 675 of file vector.hpp.

template<class T, class A>
BOOST_UBLAS_INLINE difference_type boost::numeric::ublas::vector< T, A >::iterator::operator- ( const iterator it) const [inline]

Definition at line 680 of file vector.hpp.

template<class T, class A>
BOOST_UBLAS_INLINE reference boost::numeric::ublas::vector< T, A >::iterator::operator* ( ) const [inline]

Definition at line 687 of file vector.hpp.

template<class T, class A>
BOOST_UBLAS_INLINE reference boost::numeric::ublas::vector< T, A >::iterator::operator[] ( difference_type  n) const [inline]

Definition at line 692 of file vector.hpp.

template<class T, class A>
BOOST_UBLAS_INLINE size_type boost::numeric::ublas::vector< T, A >::iterator::index ( ) const [inline]

Definition at line 698 of file vector.hpp.

template<class T, class A>
BOOST_UBLAS_INLINE iterator& boost::numeric::ublas::vector< T, A >::iterator::operator= ( const iterator it) [inline]

Definition at line 705 of file vector.hpp.

template<class T, class A>
BOOST_UBLAS_INLINE bool boost::numeric::ublas::vector< T, A >::iterator::operator== ( const iterator it) const [inline]

Definition at line 713 of file vector.hpp.

template<class T, class A>
BOOST_UBLAS_INLINE bool boost::numeric::ublas::vector< T, A >::iterator::operator< ( const iterator it) const [inline]

Definition at line 718 of file vector.hpp.

BOOST_UBLAS_INLINE container_type& boost::numeric::ublas::container_reference< vector >::operator() ( ) const [inline, inherited]

Definition at line 80 of file iterator.hpp.

BOOST_UBLAS_INLINE container_reference& boost::numeric::ublas::container_reference< vector >::assign ( container_type c) [inline, inherited]

Definition at line 85 of file iterator.hpp.

BOOST_UBLAS_INLINE bool boost::numeric::ublas::container_reference< vector >::same_closure ( const container_reference< vector > &  cr) const [inline, inherited]

Definition at line 92 of file iterator.hpp.

Definition at line 220 of file iterator.hpp.

Definition at line 233 of file iterator.hpp.

BOOST_UBLAS_INLINE bool boost::numeric::ublas::random_access_iterator_base< dense_random_access_iterator_tag , iterator , value_type , 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< dense_random_access_iterator_tag , iterator , value_type , 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< dense_random_access_iterator_tag , iterator , value_type , 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< dense_random_access_iterator_tag , iterator , value_type , difference_type >::operator> ( const derived_iterator_type it) const [inline, inherited]

Definition at line 288 of file iterator.hpp.


Friends And Related Function Documentation

template<class T, class A>
friend class const_iterator [friend]

Definition at line 726 of file vector.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.


Member Data Documentation

template<class T, class A>
subiterator_type boost::numeric::ublas::vector< T, A >::iterator::it_ [private]

Definition at line 724 of file vector.hpp.


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