#include <core.hpp>
Public Types | |
typedef std::forward_iterator_tag | iterator_category |
Public Member Functions | |
_Tp & | operator* () const |
returns the reference to the current element | |
SparseMatIterator_ | operator++ (int) |
moves the iterator to the next element | |
SparseMatIterator_ & | operator++ () |
moves the iterator to the next element | |
SparseMatIterator_ & | operator= (const SparseMatIterator_ &it) |
the assignment operator | |
SparseMatIterator_ (const SparseMatIterator_ &it) | |
the copy constructor | |
SparseMatIterator_ (SparseMat_< _Tp > *_m) | |
the full constructor setting the iterator to the first sparse matrix element | |
SparseMatIterator_ () | |
the default constructor |
Template Read-Write Sparse Matrix Iterator Class.
This is the derived from cv::SparseMatConstIterator_ class that introduces more convenient operator *() for accessing the current element.
typedef std::forward_iterator_tag cv::SparseMatIterator_< _Tp >::iterator_category |
Reimplemented from cv::SparseMatConstIterator_< _Tp >.
cv::SparseMatIterator_< _Tp >::SparseMatIterator_ | ( | ) | [inline] |
the default constructor
cv::SparseMatIterator_< _Tp >::SparseMatIterator_ | ( | SparseMat_< _Tp > * | _m | ) | [inline] |
the full constructor setting the iterator to the first sparse matrix element
cv::SparseMatIterator_< _Tp >::SparseMatIterator_ | ( | const SparseMatIterator_< _Tp > & | it | ) | [inline] |
the copy constructor
_Tp & cv::SparseMatIterator_< _Tp >::operator* | ( | ) | const [inline] |
returns the reference to the current element
Reimplemented from cv::SparseMatConstIterator_< _Tp >.
SparseMatIterator_< _Tp > cv::SparseMatIterator_< _Tp >::operator++ | ( | int | ) | [inline] |
moves the iterator to the next element
Reimplemented from cv::SparseMatConstIterator_< _Tp >.
SparseMatIterator_< _Tp > & cv::SparseMatIterator_< _Tp >::operator++ | ( | ) | [inline] |
moves the iterator to the next element
Reimplemented from cv::SparseMatConstIterator_< _Tp >.
SparseMatIterator_< _Tp > & cv::SparseMatIterator_< _Tp >::operator= | ( | const SparseMatIterator_< _Tp > & | it | ) | [inline] |
the assignment operator