Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of gr-peach-opencv-project-sd-card by
SparseMatConstIterator_< _Tp > Class Template Reference
[Basic structures]
Template Read-Only Sparse Matrix Iterator Class. More...
#include <mat.hpp>
Inherits cv::SparseMatConstIterator.
Inherited by SparseMatIterator_< _Tp >.
Public Member Functions | |
SparseMatConstIterator_ () | |
the default constructor | |
SparseMatConstIterator_ (const SparseMat_< _Tp > *_m) | |
the full constructor setting the iterator to the first sparse matrix element | |
SparseMatConstIterator_ (const SparseMatConstIterator_ &it) | |
the copy constructor | |
SparseMatConstIterator_ & | operator= (const SparseMatConstIterator_ &it) |
the assignment operator | |
const _Tp & | operator* () const |
the element access operator | |
SparseMatConstIterator_ & | operator++ () |
moves iterator to the next element | |
SparseMatConstIterator_ | operator++ (int) |
moves iterator to the next element | |
template<typename _Tp > | |
const _Tp & | value () const |
template method returning the current matrix element | |
const SparseMat::Node * | node () const |
returns the current node of the sparse matrix. it.node->idx is the current element index | |
SparseMatConstIterator & | operator-- () |
moves iterator to the previous element | |
SparseMatConstIterator | operator-- (int) |
moves iterator to the previous element | |
void | seekEnd () |
moves iterator to the element after the last element |
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.
Definition at line 3037 of file mat.hpp.
Constructor & Destructor Documentation
the default constructor
SparseMatConstIterator_ | ( | const SparseMat_< _Tp > * | _m ) |
the full constructor setting the iterator to the first sparse matrix element
SparseMatConstIterator_ | ( | const SparseMatConstIterator_< _Tp > & | it ) |
the copy constructor
Member Function Documentation
const SparseMat::Node* node | ( | ) | const [inherited] |
returns the current node of the sparse matrix. it.node->idx is the current element index
Reimplemented in SparseMatIterator.
const _Tp& operator* | ( | ) | const |
the element access operator
Reimplemented in SparseMatIterator_< _Tp >.
SparseMatConstIterator_ operator++ | ( | int | ) |
moves iterator to the next element
Reimplemented from SparseMatConstIterator.
Reimplemented in SparseMatIterator_< _Tp >.
SparseMatConstIterator_& operator++ | ( | ) |
moves iterator to the next element
Reimplemented from SparseMatConstIterator.
Reimplemented in SparseMatIterator_< _Tp >.
SparseMatConstIterator operator-- | ( | int | ) | [inherited] |
moves iterator to the previous element
SparseMatConstIterator& operator-- | ( | ) | [inherited] |
moves iterator to the previous element
SparseMatConstIterator_& operator= | ( | const SparseMatConstIterator_< _Tp > & | it ) |
the assignment operator
void seekEnd | ( | ) | [inherited] |
moves iterator to the element after the last element
const _Tp& value | ( | ) | const [inherited] |
template method returning the current matrix element
Reimplemented in SparseMatIterator.
Generated on Tue Jul 12 2022 14:48:00 by
