ArrayIteratorBacking< T, PT > Class Template Reference
[Data]

backend multidimensional iterator More...

#include <array-iterator.h>

Inheritance diagram for ArrayIteratorBacking< T, PT >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ArrayIteratorBacking (T *_start, int _delta, int _s, int *target)
 ArrayIteratorBacking ()
 operator T & () const
Toperator* () const
Tcurrent () const
Toperator[] (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
Toperator= (const T &v)
template<bool PT2>
void init (const ArrayIteratorBacking< T, PT2 > &b)

Public Attributes

int idx
int delta
int next
Tfirst
ArrayIteratorBacking< T, PT > * _more
int * pos

Detailed Description

template<class T, bool PT>
class ArrayIteratorBacking< T, PT >

backend multidimensional iterator

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.


Constructor & Destructor Documentation

template<class T , bool PT>
ArrayIteratorBacking< T, PT >::ArrayIteratorBacking ( T _start,
int  _delta,
int  _s,
int *  target 
) [inline]
template<class T, bool PT>
ArrayIteratorBacking< T, PT >::ArrayIteratorBacking (  )  [inline]

Member Function Documentation

template<class T, bool PT>
T* ArrayIteratorBacking< T, PT >::current (  )  const [inline]
template<class T, bool PT>
template<bool PT2>
void ArrayIteratorBacking< T, PT >::init ( const ArrayIteratorBacking< T, PT2 > &  b  )  [inline]
template<class T, bool PT>
bool ArrayIteratorBacking< T, PT >::linear (  )  const [inline]
template<class T, bool PT>
bool ArrayIteratorBacking< T, PT >::more (  )  [inline]
template<class T , bool PT>
bool ArrayIteratorBacking< T, PT >::needmore (  )  [inline]
template<class T, bool PT>
ArrayIteratorBacking< T, PT >::operator T & (  )  const [inline]
template<class T, bool PT>
ArrayIteratorBacking< T, PT >::operator T * (  )  const [inline]
template<class T, bool PT>
T& ArrayIteratorBacking< T, PT >::operator* (  )  const [inline]
template<class T, bool PT>
void ArrayIteratorBacking< T, PT >::operator++ ( int   )  [inline]
template<class T, bool PT>
void ArrayIteratorBacking< T, PT >::operator++ (  )  [inline]
template<class T, bool PT>
T& ArrayIteratorBacking< T, PT >::operator= ( const T v  )  [inline]
template<class T, bool PT>
T& ArrayIteratorBacking< T, PT >::operator[] ( int   )  const [inline]

Reimplemented in ArrayIterator< D, T, PT, SM, ORDERED >.

References assert().

template<class T , bool PT>
void ArrayIteratorBacking< T, PT >::print (  )  const [inline]
template<class T, bool PT>
int ArrayIteratorBacking< T, PT >::size (  )  const [inline]
template<class T, bool PT>
void ArrayIteratorBacking< T, PT >::skipBlock (  )  [inline]

Member Data Documentation

template<class T, bool PT>
ArrayIteratorBacking<T,PT>* ArrayIteratorBacking< T, PT >::_more
template<class T, bool PT>
int ArrayIteratorBacking< T, PT >::delta
template<class T, bool PT>
T* ArrayIteratorBacking< T, PT >::first
template<class T, bool PT>
int ArrayIteratorBacking< T, PT >::idx
template<class T, bool PT>
int ArrayIteratorBacking< T, PT >::next
template<class T, bool PT>
int* ArrayIteratorBacking< T, PT >::pos

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by  doxygen 1.6.2