Bayesian Filtering Library  Generated from SVN r
Public Types | Public Member Functions | Friends | List of all members
indexed_const_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_const_iterator1< C, IC >:
container_const_reference< C > random_access_iterator_base< IC, indexed_const_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::const_reference reference
 
typedef indexed_iterator1< container_type, iterator_category > iterator_type
 
typedef indexed_const_iterator2< container_type, iterator_category > dual_iterator_type
 
typedef reverse_iterator_base2< dual_iterator_typedual_reverse_iterator_type
 
typedef indexed_const_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_const_iterator1 (const container_type &c, size_type it1, size_type it2)
 
BOOST_UBLAS_INLINE indexed_const_iterator1 (const iterator_type &it)
 
BOOST_UBLAS_INLINE indexed_const_iterator1operator++ ()
 
BOOST_UBLAS_INLINE indexed_const_iterator1operator-- ()
 
BOOST_UBLAS_INLINE indexed_const_iterator1operator+= (difference_type n)
 
BOOST_UBLAS_INLINE indexed_const_iterator1operator-= (difference_type n)
 
BOOST_UBLAS_INLINE difference_type operator- (const indexed_const_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_const_iterator1operator= (const indexed_const_iterator1 &it)
 
BOOST_UBLAS_INLINE bool operator== (const indexed_const_iterator1 &it) const
 
BOOST_UBLAS_INLINE bool operator< (const indexed_const_iterator1 &it) const
 
BOOST_UBLAS_INLINE const container_type & operator() () const
 
BOOST_UBLAS_INLINE container_const_referenceassign (const container_type *c)
 
BOOST_UBLAS_INLINE bool same_closure (const container_const_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
 

Friends

class indexed_iterator1< container_type, iterator_category >
 

Detailed Description

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

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

Parameters
Cthe (immutable) 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 1: The container has to support the find2(rank, i, j) method

Note 2: there is an automatic conversion from indexed_iterator1 to indexed_const_iterator1

Definition at line 1018 of file asirfilter.h.


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