BrickCounter< Dim > Class Template Reference

#include <BrickIterator.h>

Inheritance diagram for BrickCounter< Dim >:

Inheritance graph
[legend]
Collaboration diagram for BrickCounter< Dim >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BrickCounter ()
 BrickCounter (const NDIndex< Dim > &)
BrickCounteroperator++ ()
bool done (unsigned d) const
void step (unsigned d)
void rewind (unsigned d)
int size (unsigned d) const
int GetOffset (unsigned d) const

Protected Member Functions

void op_pp ()

Protected Attributes

vec< int, Dim > Counters
vec< int, Dim > Counts

Detailed Description

template<unsigned Dim>
class BrickCounter< Dim >

Definition at line 33 of file BrickIterator.h.


Constructor & Destructor Documentation

template<unsigned Dim>
BrickCounter< Dim >::BrickCounter  )  [inline]
 

Definition at line 38 of file BrickIterator.h.

template<unsigned Dim>
BrickCounter< Dim >::BrickCounter const NDIndex< Dim > &   ) 
 

Definition at line 36 of file BrickIterator.cpp.


Member Function Documentation

template<unsigned Dim>
bool BrickCounter< Dim >::done unsigned  d  )  const [inline]
 

Reimplemented in BareFieldIterator< T, Dim >.

Definition at line 47 of file BrickIterator.h.

References BrickCounter< Dim >::Counters, and BrickCounter< Dim >::Counts.

Referenced by BareFieldIterator< T, Dim >::done().

template<unsigned Dim>
int BrickCounter< Dim >::GetOffset unsigned  d  )  const [inline]
 

Definition at line 57 of file BrickIterator.h.

References BrickCounter< Dim >::Counters.

template<unsigned Dim>
void BrickCounter< Dim >::op_pp  )  [protected]
 

Reimplemented in BrickIterator< T, Dim >.

Definition at line 52 of file BrickIterator.cpp.

References BrickCounter< Dim >::rewind(), and BrickCounter< Dim >::step().

Referenced by BrickCounter< Dim >::operator++().

Here is the call graph for this function:

template<unsigned Dim>
BrickCounter& BrickCounter< Dim >::operator++  )  [inline]
 

Reimplemented in BareFieldIterator< T, Dim >, BrickIterator< T, Dim >, and IndexedBareFieldIterator< T, Dim >.

Definition at line 44 of file BrickIterator.h.

References BrickCounter< Dim >::op_pp().

Here is the call graph for this function:

template<unsigned Dim>
void BrickCounter< Dim >::rewind unsigned  d  )  [inline]
 

Reimplemented in BrickIterator< T, Dim >.

Definition at line 51 of file BrickIterator.h.

References BrickCounter< Dim >::Counters.

Referenced by BrickCounter< Dim >::op_pp(), and BrickIterator< T, Dim >::rewind().

template<unsigned Dim>
int BrickCounter< Dim >::size unsigned  d  )  const [inline]
 

Definition at line 54 of file BrickIterator.h.

References BrickCounter< Dim >::Counts.

Referenced by for_each(), and BareField< T, Dim >::writeb().

template<unsigned Dim>
void BrickCounter< Dim >::step unsigned  d  )  [inline]
 

Reimplemented in BrickIterator< T, Dim >.

Definition at line 50 of file BrickIterator.h.

References BrickCounter< Dim >::Counters.

Referenced by BrickCounter< Dim >::op_pp(), and BrickIterator< T, Dim >::step().


Member Data Documentation

template<unsigned Dim>
vec<int,Dim> BrickCounter< Dim >::Counters [protected]
 

Definition at line 61 of file BrickIterator.h.

Referenced by BrickCounter< Dim >::done(), BrickCounter< Dim >::GetOffset(), BrickCounter< Dim >::rewind(), and BrickCounter< Dim >::step().

template<unsigned Dim>
vec<int,Dim> BrickCounter< Dim >::Counts [protected]
 

Definition at line 62 of file BrickIterator.h.

Referenced by BrickCounter< Dim >::done(), and BrickCounter< Dim >::size().


The documentation for this class was generated from the following files:
Generated on Mon Jan 16 14:34:51 2006 for IPPL by  doxygen 1.4.6