#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 *const | 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 35 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] |
| bool Iterator3D::operator!= | ( | const Iterator3D & | other | ) | const [inline] |
| MatrixView *const Iterator3D::operator-> | ( | ) | [inline] |
The -> operator is needed, so that we can write i->begin() to get the 1D iterators.
Definition at line 317 of file matpackIII.h.
| MatrixView & Iterator3D::operator* | ( | ) | [inline] |
MatrixView Iterator3D::msv [private] |
Index Iterator3D::mstride [private] |
1.5.6