#include <matpackVII.h>
Public Member Functions | |
ConstIterator7D () | |
Default constructor. | |
ConstIterator7D (const ConstIterator7D &o) | |
Copy constructor. | |
ConstIterator7D (const ConstTensor6View &x, Index stride) | |
Explicit constructor. | |
ConstIterator7D & | operator++ () |
Prefix increment operator. | |
bool | operator!= (const ConstIterator7D &other) const |
Not equal operator, needed for algorithms like copy. | |
const ConstTensor6View * | operator-> () const |
The -> operator is needed, so that we can write i->begin() to get the 1D iterators. | |
const ConstTensor6View & | operator* () const |
Dereferencing. | |
Private Attributes | |
ConstTensor6View | msv |
Current position. | |
Index | mstride |
Stride. |
Definition at line 93 of file matpackVII.h.
ConstIterator7D::ConstIterator7D | ( | ) | [inline] |
ConstIterator7D::ConstIterator7D | ( | const ConstIterator7D & | o | ) | [inline] |
ConstIterator7D::ConstIterator7D | ( | const ConstTensor6View & | x, | |
Index | stride | |||
) | [inline] |
ConstIterator7D& ConstIterator7D::operator++ | ( | ) | [inline] |
Prefix increment operator.
Definition at line 110 of file matpackVII.h.
References ConstTensor6View::mdata, mstride, and msv.
bool ConstIterator7D::operator!= | ( | const ConstIterator7D & | other | ) | const [inline] |
Not equal operator, needed for algorithms like copy.
FIXME: Is it really necessary to have such a complicated check here? It could be sufficient to just test msv.mdata!=other.msv.mdata.
Definition at line 116 of file matpackVII.h.
References ConstTensor6View::mbr, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::mrr, ConstTensor6View::msr, Range::mstart, msv, and ConstTensor6View::mvr.
const ConstTensor6View* ConstIterator7D::operator-> | ( | ) | const [inline] |
The -> operator is needed, so that we can write i->begin() to get the 1D iterators.
Definition at line 139 of file matpackVII.h.
References msv.
const ConstTensor6View& ConstIterator7D::operator* | ( | ) | const [inline] |
ConstTensor6View ConstIterator7D::msv [private] |
Current position.
Definition at line 146 of file matpackVII.h.
Referenced by operator!=(), operator*(), operator++(), and operator->().
Index ConstIterator7D::mstride [private] |