Bayesian Filtering Library  Generated from SVN r
Public Types | Public Member Functions | List of all members
indexed_iterator1< C, IC > Class Template Reference

A class implementing an indexed random access iterator of a matrix. More...

#include <asirfilter.h>

Inheritance diagram for indexed_iterator1< C, IC >:
container_reference< C > random_access_iterator_base< IC, indexed_iterator1< C, IC >, C::value_type, C::difference_type > nonassignable

Public Types

typedef C container_type
 
typedef IC iterator_category
 
typedef container_type::size_type size_type
 
typedef
container_type::difference_type 
difference_type
 
typedef container_type::value_type value_type
 
typedef container_type::reference reference
 
typedef indexed_iterator2
< container_type,
iterator_category > 
dual_iterator_type
 
typedef reverse_iterator_base2
< dual_iterator_type
dual_reverse_iterator_type
 
typedef indexed_iterator1< C, IC > derived_iterator_type
 
typedef C::value_type derived_value_type
 
typedef C::difference_type derived_difference_type
 

Public Member Functions

BOOST_UBLAS_INLINE indexed_iterator1 (container_type &c, size_type it1, size_type it2)
 
BOOST_UBLAS_INLINE
indexed_iterator1
operator++ ()
 
BOOST_UBLAS_INLINE
indexed_iterator1
operator-- ()
 
BOOST_UBLAS_INLINE
indexed_iterator1
operator+= (difference_type n)
 
BOOST_UBLAS_INLINE
indexed_iterator1
operator-= (difference_type n)
 
BOOST_UBLAS_INLINE difference_type operator- (const indexed_iterator1 &it) const
 
BOOST_UBLAS_INLINE reference operator* () const
 
BOOST_UBLAS_INLINE reference operator[] (difference_type n) const
 
BOOST_UBLAS_INLINE size_type index1 () const
 
BOOST_UBLAS_INLINE size_type index2 () const
 
BOOST_UBLAS_INLINE
dual_iterator_type 
begin () const
 
BOOST_UBLAS_INLINE
dual_iterator_type 
end () const
 
BOOST_UBLAS_INLINE
dual_reverse_iterator_type 
rbegin () const
 
BOOST_UBLAS_INLINE
dual_reverse_iterator_type 
rend () const
 
BOOST_UBLAS_INLINE
indexed_iterator1
operator= (const indexed_iterator1 &it)
 
BOOST_UBLAS_INLINE bool operator== (const indexed_iterator1 &it) const
 
BOOST_UBLAS_INLINE bool operator< (const indexed_iterator1 &it) const
 
BOOST_UBLAS_INLINE container_type & operator() () const
 
BOOST_UBLAS_INLINE
container_reference
assign (container_type *c)
 
BOOST_UBLAS_INLINE bool same_closure (const container_reference &cr) const
 
BOOST_UBLAS_INLINE
derived_iterator_type 
operator++ (int)
 
BOOST_UBLAS_INLINE
derived_iterator_type 
operator-- (int)
 
BOOST_UBLAS_INLINE
derived_iterator_type 
operator+ (derived_difference_type n) const
 
BOOST_UBLAS_INLINE
derived_iterator_type 
operator- (derived_difference_type n) 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 bool operator>= (const derived_iterator_type &it) const
 
BOOST_UBLAS_INLINE bool operator> (const derived_iterator_type &it) const
 

Detailed Description

template<class C, class IC>
class BFL::boost::numeric::ublas::indexed_iterator1< C, IC >

A class implementing an indexed random access iterator of a matrix.

Parameters
Cthe (mutable) container type
ICthe iterator category

This class implements a random access iterator. The current position is stored as two unsigned integers it1_ and it2_ and the values are accessed via operator()(it1_, it2_) of the container. The iterator changes the first index.

uBLAS extension: index1(), index2() and access to the dual iterator via begin(), end(), rbegin() and rend()

Note: The container has to support the

find2(rank, i, j)

method

Definition at line 872 of file asirfilter.h.


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