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

backend multidimensional iterator More...

#include <array-iterator.h>

Collaboration diagram for ArrayIteratorBacking< T, PT >:

Collaboration graph
[legend]

List of all members.

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


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.

Definition at line 35 of file array-iterator.h.


Constructor & Destructor Documentation

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

template<class T, bool PT>
ArrayIteratorBacking< T, PT >::ArrayIteratorBacking (  )  [inline]

Definition at line 46 of file array-iterator.h.


Member Function Documentation

template<class T, bool PT>
T* ArrayIteratorBacking< T, PT >::current (  )  const [inline]

Definition at line 57 of file array-iterator.h.

Here is the caller graph for this function:

template<class T, bool PT>
template<bool PT2>
void ArrayIteratorBacking< T, PT >::init ( const ArrayIteratorBacking< T, PT2 > &  b  )  [inline]

Definition at line 102 of file array-iterator.h.

Here is the caller graph for this function:

template<class T, bool PT>
bool ArrayIteratorBacking< T, PT >::linear (  )  const [inline]

Definition at line 87 of file array-iterator.h.

template<class T, bool PT>
bool ArrayIteratorBacking< T, PT >::more (  )  [inline]

Definition at line 69 of file array-iterator.h.

Here is the caller graph for this function:

template<class T, bool PT>
bool ArrayIteratorBacking< T, PT >::needmore (  ) 

Here is the caller graph for this function:

template<class T, bool PT>
ArrayIteratorBacking< T, PT >::operator T & (  )  const [inline]

Definition at line 49 of file array-iterator.h.

template<class T, bool PT>
ArrayIteratorBacking< T, PT >::operator T * (  )  const [inline]

Definition at line 65 of file array-iterator.h.

template<class T, bool PT>
T& ArrayIteratorBacking< T, PT >::operator* (  )  const [inline]

Definition at line 53 of file array-iterator.h.

template<class T, bool PT>
void ArrayIteratorBacking< T, PT >::operator++ ( int   )  [inline]

Definition at line 78 of file array-iterator.h.

template<class T, bool PT>
void ArrayIteratorBacking< T, PT >::operator++ (  )  [inline]

Definition at line 74 of file array-iterator.h.

template<class T, bool PT>
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.

template<class T, bool PT>
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.

template<class T, bool PT>
void ArrayIteratorBacking< T, PT >::print (  )  const

Here is the caller graph for this function:

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

Definition at line 91 of file array-iterator.h.

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

Definition at line 82 of file array-iterator.h.


Member Data Documentation

template<class T, bool PT>
ArrayIteratorBacking<T,PT>* ArrayIteratorBacking< T, PT >::_more

Definition at line 42 of file array-iterator.h.

template<class T, bool PT>
int ArrayIteratorBacking< T, PT >::delta

Definition at line 39 of file array-iterator.h.

template<class T, bool PT>
T* ArrayIteratorBacking< T, PT >::first

Definition at line 41 of file array-iterator.h.

template<class T, bool PT>
int ArrayIteratorBacking< T, PT >::idx

Definition at line 38 of file array-iterator.h.

template<class T, bool PT>
int ArrayIteratorBacking< T, PT >::next

Definition at line 40 of file array-iterator.h.

template<class T, bool PT>
int* ArrayIteratorBacking< T, PT >::pos

Definition at line 43 of file array-iterator.h.


The documentation for this class was generated from the following file:

Generated on Sat Feb 20 19:04:27 2010 for Data Objects by  doxygen 1.5.9