#include <matpackV.h>
Public Member Functions | |
Iterator5D () | |
Default constructor. | |
Iterator5D (const Iterator5D &o) | |
Copy constructor. | |
Iterator5D (const Tensor4View &x, Index stride) | |
Explicit constructor. | |
Iterator5D & | operator++ () |
Prefix increment operator. | |
bool | operator!= (const Iterator5D &other) const |
Not equal operator, needed for algorithms like copy. | |
Tensor4View * | operator-> () |
The -> operator is needed, so that we can write i->begin() to get the 4D iterators. | |
Tensor4View & | operator* () |
Dereferencing. | |
Private Attributes | |
Tensor4View | msv |
Current position. | |
Index | mstride |
Stride. |
Based on Tensor3 by Stefan Buehler.
The five dimensions are called: shelf, book, page, row, column.
Definition at line 38 of file matpackV.h.
Iterator5D::Iterator5D | ( | ) | [inline] |
Iterator5D::Iterator5D | ( | const Iterator5D & | o | ) | [inline] |
Iterator5D::Iterator5D | ( | const Tensor4View & | x, | |
Index | stride | |||
) | [inline] |
Iterator5D& Iterator5D::operator++ | ( | ) | [inline] |
Prefix increment operator.
Definition at line 57 of file matpackV.h.
References ConstTensor4View::mdata, mstride, and msv.
bool Iterator5D::operator!= | ( | const Iterator5D & | other | ) | const [inline] |
Not equal operator, needed for algorithms like copy.
Definition at line 60 of file matpackV.h.
References ConstTensor4View::mbr, ConstTensor4View::mcr, ConstTensor4View::mdata, ConstTensor4View::mpr, ConstTensor4View::mrr, Range::mstart, and msv.
Tensor4View* Iterator5D::operator-> | ( | ) | [inline] |
The -> operator is needed, so that we can write i->begin() to get the 4D iterators.
Definition at line 79 of file matpackV.h.
References msv.
Tensor4View& Iterator5D::operator* | ( | ) | [inline] |
Tensor4View Iterator5D::msv [private] |
Current position.
Definition at line 86 of file matpackV.h.
Referenced by operator!=(), operator*(), operator++(), and operator->().
Index Iterator5D::mstride [private] |