cv::SparseMatConstIterator_< _Tp > Class Template Reference

#include <core.hpp>

Inheritance diagram for cv::SparseMatConstIterator_< _Tp >:
cv::SparseMatConstIterator cv::SparseMatIterator_< _Tp >

List of all members.

Public Types

typedef std::forward_iterator_tag iterator_category

Public Member Functions

const _Tp & operator* () const
 the element access operator
SparseMatConstIterator_ operator++ (int)
 moves iterator to the next element
SparseMatConstIterator_operator++ ()
 moves iterator to the next element
SparseMatConstIterator_operator= (const SparseMatConstIterator_ &it)
 the assignment operator
 SparseMatConstIterator_ (const SparseMatConstIterator_ &it)
 the copy constructor
 SparseMatConstIterator_ (const SparseMat_< _Tp > *_m)
 the full constructor setting the iterator to the first sparse matrix element
 SparseMatConstIterator_ ()
 the default constructor

Detailed Description

template<typename _Tp>
class cv::SparseMatConstIterator_< _Tp >

Template Read-Only Sparse Matrix Iterator Class.

This is the derived from SparseMatConstIterator class that introduces more convenient operator *() for accessing the current element.


Member Typedef Documentation

template<typename _Tp>
typedef std::forward_iterator_tag cv::SparseMatConstIterator_< _Tp >::iterator_category

Reimplemented in cv::SparseMatIterator_< _Tp >.


Constructor & Destructor Documentation

template<typename _Tp >
cv::SparseMatConstIterator_< _Tp >::SparseMatConstIterator_ (  )  [inline]

the default constructor

template<typename _Tp >
cv::SparseMatConstIterator_< _Tp >::SparseMatConstIterator_ ( const SparseMat_< _Tp > *  _m  )  [inline]

the full constructor setting the iterator to the first sparse matrix element

template<typename _Tp >
cv::SparseMatConstIterator_< _Tp >::SparseMatConstIterator_ ( const SparseMatConstIterator_< _Tp > &  it  )  [inline]

the copy constructor


Member Function Documentation

template<typename _Tp >
const _Tp & cv::SparseMatConstIterator_< _Tp >::operator* (  )  const [inline]

the element access operator

Reimplemented in cv::SparseMatIterator_< _Tp >.

template<typename _Tp >
SparseMatConstIterator_< _Tp > cv::SparseMatConstIterator_< _Tp >::operator++ ( int   )  [inline]

moves iterator to the next element

Reimplemented from cv::SparseMatConstIterator.

Reimplemented in cv::SparseMatIterator_< _Tp >.

template<typename _Tp >
SparseMatConstIterator_< _Tp > & cv::SparseMatConstIterator_< _Tp >::operator++ (  )  [inline]

moves iterator to the next element

Reimplemented from cv::SparseMatConstIterator.

Reimplemented in cv::SparseMatIterator_< _Tp >.

template<typename _Tp >
SparseMatConstIterator_< _Tp > & cv::SparseMatConstIterator_< _Tp >::operator= ( const SparseMatConstIterator_< _Tp > &  it  )  [inline]

the assignment operator


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Thu Dec 23 11:40:55 2010 for opencv by  doxygen 1.6.3