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