ARTS
2.0.49
|
Const version of Iterator4D. More...
#include <matpackIV.h>
Public Member Functions | |
ConstIterator4D () | |
Default constructor. More... | |
ConstIterator4D (const ConstIterator4D &o) | |
Copy constructor. More... | |
ConstIterator4D (const ConstTensor3View &x, Index stride) | |
Explicit constructor. More... | |
ConstIterator4D & | operator++ () |
Prefix increment operator. More... | |
bool | operator!= (const ConstIterator4D &other) const |
Not equal operator, needed for algorithms like copy. More... | |
const ConstTensor3View * | operator-> () const |
The -> operator is needed, so that we can write i->begin() to get the 3D iterators. More... | |
const ConstTensor3View & | operator* () const |
Dereferencing. More... | |
Private Attributes | |
ConstTensor3View | msv |
Current position. More... | |
Index | mstride |
Stride. More... | |
Const version of Iterator4D.
Definition at line 84 of file matpackIV.h.
|
inline |
Default constructor.
Definition at line 91 of file matpackIV.h.
|
inline |
Copy constructor.
Definition at line 94 of file matpackIV.h.
|
inline |
Explicit constructor.
Definition at line 98 of file matpackIV.h.
|
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 |
|
inline |
Prefix increment operator.
Definition at line 104 of file matpackIV.h.
References ConstTensor3View::mdata, mstride, 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.
|
private |
|
private |
Current position.
Definition at line 127 of file matpackIV.h.
Referenced by operator!=(), operator*(), operator++(), and operator->().