#include <array-iterator.h>
Public Member Functions | |
ArrayIteratorBacking (T *_start, int _delta, int _s, int *target) | |
ArrayIteratorBacking () | |
operator T & () const | |
T & | operator* () const |
T * | current () const |
T & | operator[] (int) const |
operator T * () const | |
bool | more () |
bool | needmore () |
void | operator++ () |
void | operator++ (int) |
void | skipBlock () |
bool | linear () const |
int | size () const |
void | print () const |
T & | operator= (const T &v) |
template<bool PT2> | |
void | init (const ArrayIteratorBacking< T, PT2 > &b) |
Public Attributes | |
int | idx |
int | delta |
int | next |
T * | first |
ArrayIteratorBacking< T, PT > * | _more |
int * | pos |
The array iterator is a very fast but flexible iterator it is used by combining different iteration walks into one iterator (extend). This is then assigned in the ArrayIterator. After trying to use this a couple of times it seems that it is somewhat too complex. We might want to rethink this one.
Definition at line 35 of file array-iterator.h.
ArrayIteratorBacking< T, PT >::ArrayIteratorBacking | ( | T * | _start, | |
int | _delta, | |||
int | _s, | |||
int * | target | |||
) |
ArrayIteratorBacking< T, PT >::ArrayIteratorBacking | ( | ) | [inline] |
Definition at line 46 of file array-iterator.h.
T* ArrayIteratorBacking< T, PT >::current | ( | ) | const [inline] |
void ArrayIteratorBacking< T, PT >::init | ( | const ArrayIteratorBacking< T, PT2 > & | b | ) | [inline] |
bool ArrayIteratorBacking< T, PT >::linear | ( | ) | const [inline] |
Definition at line 87 of file array-iterator.h.
bool ArrayIteratorBacking< T, PT >::more | ( | ) | [inline] |
bool ArrayIteratorBacking< T, PT >::needmore | ( | ) |
ArrayIteratorBacking< T, PT >::operator T & | ( | ) | const [inline] |
Definition at line 49 of file array-iterator.h.
ArrayIteratorBacking< T, PT >::operator T * | ( | ) | const [inline] |
Definition at line 65 of file array-iterator.h.
T& ArrayIteratorBacking< T, PT >::operator* | ( | ) | const [inline] |
Definition at line 53 of file array-iterator.h.
void ArrayIteratorBacking< T, PT >::operator++ | ( | int | ) | [inline] |
Definition at line 78 of file array-iterator.h.
void ArrayIteratorBacking< T, PT >::operator++ | ( | ) | [inline] |
Definition at line 74 of file array-iterator.h.
T& ArrayIteratorBacking< T, PT >::operator= | ( | const T & | v | ) | [inline] |
Reimplemented in ArrayIterator< D, T, PT, SM, ORDERED >.
Definition at line 96 of file array-iterator.h.
T& ArrayIteratorBacking< T, PT >::operator[] | ( | int | ) | const [inline] |
Reimplemented in ArrayIterator< D, T, PT, SM, ORDERED >.
Definition at line 61 of file array-iterator.h.
void ArrayIteratorBacking< T, PT >::print | ( | ) | const |
int ArrayIteratorBacking< T, PT >::size | ( | ) | const [inline] |
Definition at line 91 of file array-iterator.h.
void ArrayIteratorBacking< T, PT >::skipBlock | ( | ) | [inline] |
Definition at line 82 of file array-iterator.h.
ArrayIteratorBacking<T,PT>* ArrayIteratorBacking< T, PT >::_more |
Definition at line 42 of file array-iterator.h.
int ArrayIteratorBacking< T, PT >::delta |
Definition at line 39 of file array-iterator.h.
T* ArrayIteratorBacking< T, PT >::first |
Definition at line 41 of file array-iterator.h.
int ArrayIteratorBacking< T, PT >::idx |
Definition at line 38 of file array-iterator.h.
int ArrayIteratorBacking< T, PT >::next |
Definition at line 40 of file array-iterator.h.
int* ArrayIteratorBacking< T, PT >::pos |
Definition at line 43 of file array-iterator.h.