ARTS
2.0.49
|
The const row iterator class for sub matrices. More...
#include <matpackI.h>
Public Member Functions | |
ConstIterator2D () | |
Default constructor. More... | |
ConstIterator2D (const ConstIterator2D &o) | |
Copy constructor. More... | |
ConstIterator2D (const ConstVectorView &x, Index stride) | |
Explicit constructor. More... | |
ConstIterator2D & | operator++ () |
Prefix increment operator. More... | |
bool | operator!= (const ConstIterator2D &other) const |
Not equal operator, needed for algorithms like copy. More... | |
const ConstVectorView * | operator-> () const |
The -> operator is needed, so that we can write i->begin() to get the 1D iterators. More... | |
const ConstVectorView & | operator* () const |
Dereferencing. More... | |
Private Attributes | |
ConstVectorView | msv |
Current position. More... | |
Index | mstride |
Row stride. More... | |
The const row iterator class for sub matrices.
This takes into account the defined row stride. The iterator points to a row of the matrix, which acts just like a VectorView.
Definition at line 503 of file matpackI.h.
|
inline |
Default constructor.
Definition at line 507 of file matpackI.h.
|
inline |
Copy constructor.
Definition at line 510 of file matpackI.h.
|
inline |
Explicit constructor.
Definition at line 514 of file matpackI.h.
|
inline |
Not equal operator, needed for algorithms like copy.
Definition at line 523 of file matpackI.h.
References ConstVectorView::mdata, ConstVectorView::mrange, Range::mstart, and msv.
|
inline |
|
inline |
Prefix increment operator.
Definition at line 520 of file matpackI.h.
References ConstVectorView::mdata, mstride, and msv.
|
inline |
The -> operator is needed, so that we can write i->begin() to get the 1D iterators.
Definition at line 533 of file matpackI.h.
References msv.
|
private |
|
private |
Current position.
Definition at line 540 of file matpackI.h.
Referenced by operator!=(), operator*(), operator++(), and operator->().