#include <matpackIII.h>

Public Member Functions | |
| Iterator3D () | |
| Default constructor. | |
| Iterator3D (const Iterator3D &o) | |
| Copy constructor. | |
| Iterator3D (const MatrixView &x, Index stride) | |
| Explicit constructor. | |
| Iterator3D & | operator++ () |
| Prefix increment operator. | |
| bool | operator!= (const Iterator3D &other) const |
| Not equal operator, needed for algorithms like copy. | |
| MatrixView * | operator-> () |
| The -> operator is needed, so that we can write i->begin() to get the 1D iterators. | |
| MatrixView & | operator* () |
| Dereferencing. | |
Private Attributes | |
| MatrixView | msv |
| Current position. | |
| Index | mstride |
| Stride. | |
The three dimensions are called: page, row, column.
Definition at line 34 of file matpackIII.h.
| Iterator3D::Iterator3D | ( | ) | [inline] |
| Iterator3D::Iterator3D | ( | const Iterator3D & | o | ) | [inline] |
| Iterator3D::Iterator3D | ( | const MatrixView & | x, | |
| Index | stride | |||
| ) | [inline] |
| Iterator3D& Iterator3D::operator++ | ( | ) | [inline] |
Prefix increment operator.
Definition at line 50 of file matpackIII.h.
References ConstMatrixView::mdata, mstride, and msv.
| bool Iterator3D::operator!= | ( | const Iterator3D & | other | ) | const [inline] |
Not equal operator, needed for algorithms like copy.
Definition at line 54 of file matpackIII.h.
References ConstMatrixView::mcr, ConstMatrixView::mdata, ConstMatrixView::mrr, Range::mstart, and msv.
| MatrixView* Iterator3D::operator-> | ( | ) | [inline] |
The -> operator is needed, so that we can write i->begin() to get the 1D iterators.
Definition at line 69 of file matpackIII.h.
References msv.
| MatrixView& Iterator3D::operator* | ( | ) | [inline] |
MatrixView Iterator3D::msv [private] |
Current position.
Definition at line 76 of file matpackIII.h.
Referenced by operator!=(), operator*(), operator++(), and operator->().
Index Iterator3D::mstride [private] |
1.5.6