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

A class implementing an indexed random access iterator. More...

#include <asirfilter.h>

Inheritance diagram for indexed_iterator< C, IC >:
container_reference< C > random_access_iterator_base< IC, indexed_iterator< 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_iterator< 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_iterator (container_type &c, size_type it)
 
BOOST_UBLAS_INLINE indexed_iteratoroperator++ ()
 
BOOST_UBLAS_INLINE indexed_iteratoroperator-- ()
 
BOOST_UBLAS_INLINE indexed_iteratoroperator+= (difference_type n)
 
BOOST_UBLAS_INLINE indexed_iteratoroperator-= (difference_type n)
 
BOOST_UBLAS_INLINE difference_type operator- (const indexed_iterator &it) const
 
BOOST_UBLAS_INLINE reference operator* () const
 
BOOST_UBLAS_INLINE reference operator[] (difference_type n) const
 
BOOST_UBLAS_INLINE size_type index () const
 
BOOST_UBLAS_INLINE indexed_iteratoroperator= (const indexed_iterator &it)
 
BOOST_UBLAS_INLINE bool operator== (const indexed_iterator &it) const
 
BOOST_UBLAS_INLINE bool operator< (const indexed_iterator &it) const
 
BOOST_UBLAS_INLINE container_type & operator() () const
 
BOOST_UBLAS_INLINE container_referenceassign (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_iterator< C, IC >

A class implementing an indexed random access iterator.

Parameters
Cthe (mutable) container type
ICthe iterator category

This class implements a random access iterator. The current position is stored as the unsigned integer it_ and the values are accessed via operator()(it_) of the container.

uBLAS extension: index()

Definition at line 644 of file asirfilter.h.


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