#include <matpackI.h>
Public Member Functions | |
Iterator1D () | |
Default constructor. | |
Iterator1D (const Iterator1D &o) | |
Copy constructor. | |
Iterator1D (Numeric *x, Index stride) | |
Explicit constructor. | |
Iterator1D & | operator++ () |
Prefix increment operator. | |
Numeric & | operator* () const |
Dereferencing. | |
bool | operator!= (const Iterator1D &other) const |
Not equal operator, needed for algorithms like copy. | |
Private Attributes | |
Numeric * | mx |
Current position. | |
Index | mstride |
Stride. |
This takes into account the defined stride.
Definition at line 211 of file matpackI.h.
Iterator1D::Iterator1D | ( | ) | [inline] |
Iterator1D::Iterator1D | ( | const Iterator1D & | o | ) | [inline] |
Iterator1D& Iterator1D::operator++ | ( | ) | [inline] |
Numeric& Iterator1D::operator* | ( | ) | const [inline] |
bool Iterator1D::operator!= | ( | const Iterator1D & | other | ) | const [inline] |
Not equal operator, needed for algorithms like copy.
Definition at line 234 of file matpackI.h.
References mx.
Numeric* Iterator1D::mx [private] |
Current position.
Definition at line 240 of file matpackI.h.
Referenced by operator!=(), operator*(), and operator++().
Index Iterator1D::mstride [private] |