#include <matpackVI.h>
Public Member Functions | |
Iterator6D () | |
Default constructor. | |
Iterator6D (const Iterator6D &o) | |
Copy constructor. | |
Iterator6D (const Tensor5View &x, Index stride) | |
Explicit constructor. | |
Iterator6D & | operator++ () |
Prefix increment operator. | |
bool | operator!= (const Iterator6D &other) const |
Not equal operator, needed for algorithms like copy. | |
Tensor5View * | operator-> () |
The -> operator is needed, so that we can write i->begin() to get the 1D iterators. | |
Tensor5View & | operator* () |
Dereferencing. | |
Private Attributes | |
Tensor5View | msv |
Current position. | |
Index | mstride |
Stride. |
This takes into account the defined strided.
Definition at line 38 of file matpackVI.h.
Iterator6D::Iterator6D | ( | ) | [inline] |
Iterator6D::Iterator6D | ( | const Iterator6D & | o | ) | [inline] |
Iterator6D::Iterator6D | ( | const Tensor5View & | x, | |
Index | stride | |||
) | [inline] |
Iterator6D& Iterator6D::operator++ | ( | ) | [inline] |
Prefix increment operator.
Definition at line 54 of file matpackVI.h.
References ConstTensor5View::mdata, mstride, and msv.
bool Iterator6D::operator!= | ( | const Iterator6D & | 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 60 of file matpackVI.h.
References ConstTensor5View::mbr, ConstTensor5View::mcr, ConstTensor5View::mdata, ConstTensor5View::mpr, ConstTensor5View::mrr, ConstTensor5View::msr, Range::mstart, and msv.
Tensor5View* Iterator6D::operator-> | ( | ) | [inline] |
The -> operator is needed, so that we can write i->begin() to get the 1D iterators.
Definition at line 81 of file matpackVI.h.
References msv.
Tensor5View& Iterator6D::operator* | ( | ) | [inline] |
Tensor5View Iterator6D::msv [private] |
Current position.
Definition at line 88 of file matpackVI.h.
Referenced by operator!=(), operator*(), operator++(), and operator->().
Index Iterator6D::mstride [private] |