FlexELA
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
fields::Helper< T >::Iterator Struct Reference

An iterator for all data (excluding padding) in Helper<T>. More...

#include <fields.h>

Inheritance diagram for fields::Helper< T >::Iterator:
fields::Helper< T >::forward_Iterator fields::Helper< T >::reverse_Iterator

Public Member Functions

 Iterator (Helper< T > array, int i, int j, int k)
 Construct a new Iterator object at (i,j,k)
 
Toperator* () const
 Get reference.
 
Toperator-> ()
 Get pointer.
 
const Toperator-> () const
 Get pointer to const.
 
bool operator== (const Iterator &other) const
 Comparison.
 
bool operator!= (const Iterator &other) const
 

Protected Attributes

Tptr
 
int index [2]
 
int n [2]
 
int jump [2]
 

Detailed Description

template<class T>
struct fields::Helper< T >::Iterator

An iterator for all data (excluding padding) in Helper<T>.

Forward iteration order goes from small indices (i,j,k) to large indicies; however the order (i->j->k or k->j->i) is optimized to the ordering (set at compile time) of the underlying data.


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