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