AFF --- A container for numbers (array) by Friederich and Forbriger.
|
A stepper for aff::Series. More...
#include <seriesstepper.h>
Public Member Functions | |
SeriesStepper (const LinearShape &shape) | |
only non-copy constructor More... | |
const Tsubscript & | current () const |
return current index value for Representation access More... | |
Tsubscript | index () const |
return current index vector for array access More... | |
SeriesStepper & | incr () |
increment offset - return reference to itself More... | |
SeriesStepper & | decr () |
decrement offset - return reference to itself More... | |
bool | more () const |
returns true if there are more elements in incr-direction More... | |
bool | less () const |
returns true if there are more elements in decr-direction More... | |
const bool & | valid () const |
valid if not passed end or beginning More... | |
SeriesStepper & | tofirst () |
set current element index to the first - return reference to itself More... | |
SeriesStepper & | tolast () |
set current element index to the last - return reference to itself More... | |
Private Attributes | |
Tsubscript | Mfirst_offset |
store current bounds to reduce execution time More... | |
Tsubscript | Mlast_offset |
Tsubscript | Mbase |
hold base to be able to return index value More... | |
Tsubscript | Mcurrent |
hold current position offset to memory More... | |
bool | Mvalid |
true while not passed start or end More... | |
A stepper for aff::Series.
If we provide a stepper class, The aff::Iterator template can work with the aff::Series.
This class cycles through the offset range of an aff::Series. It is used internally within aff::Series::operator=() for value assignment. And it is used within the aff::Iterator and aff::Browser classes. You normally will not use it directly.
Definition at line 63 of file seriesstepper.h.