#include <matpackIII.h>
Public Member Functions | |
ConstIterator3D () | |
Default constructor. | |
ConstIterator3D (const ConstIterator3D &o) | |
Copy constructor. | |
ConstIterator3D (const ConstMatrixView &x, Index stride) | |
Explicit constructor. | |
ConstIterator3D & | operator++ () |
Prefix increment operator. | |
bool | operator!= (const ConstIterator3D &other) const |
Not equal operator, needed for algorithms like copy. | |
const ConstMatrixView * | operator-> () const |
The -> operator is needed, so that we can write i->begin() to get the 1D iterators. | |
const ConstMatrixView & | operator* () const |
Dereferencing. | |
Private Attributes | |
ConstMatrixView | msv |
Current position. | |
Index | mstride |
Stride. |
Definition at line 82 of file matpackIII.h.
ConstIterator3D::ConstIterator3D | ( | ) | [inline] |
ConstIterator3D::ConstIterator3D | ( | const ConstIterator3D & | o | ) | [inline] |
ConstIterator3D::ConstIterator3D | ( | const ConstMatrixView & | x, | |
Index | stride | |||
) | [inline] |
ConstIterator3D& ConstIterator3D::operator++ | ( | ) | [inline] |
Prefix increment operator.
Definition at line 99 of file matpackIII.h.
References ConstMatrixView::mdata, mstride, and msv.
bool ConstIterator3D::operator!= | ( | const ConstIterator3D & | other | ) | const [inline] |
Not equal operator, needed for algorithms like copy.
Definition at line 102 of file matpackIII.h.
References ConstMatrixView::mcr, ConstMatrixView::mdata, ConstMatrixView::mrr, Range::mstart, and msv.
const ConstMatrixView* ConstIterator3D::operator-> | ( | ) | const [inline] |
The -> operator is needed, so that we can write i->begin() to get the 1D iterators.
Definition at line 117 of file matpackIII.h.
References msv.
const ConstMatrixView& ConstIterator3D::operator* | ( | ) | const [inline] |
ConstMatrixView ConstIterator3D::msv [private] |
Current position.
Definition at line 125 of file matpackIII.h.
Referenced by operator!=(), operator*(), operator++(), and operator->().
Index ConstIterator3D::mstride [private] |