Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

DataIterator Class Reference

An Iterator based on a BoxLayout object. More...

#include <DataIterator.H>

Collaboration diagram for DataIterator:

Collaboration graph
[legend]
List of all members.

Public Methods

 DataIterator ()
 a null constructed DataIterator will return false on ok()

 ~DataIterator ()
const DataIndexoperator() () const
DataIndex i () const
void operator++ ()
void incr ()
bool ok () const
void reset ()
void begin ()
void end ()

Friends

class BoxLayout
class DisjointBoxLayout

Detailed Description

An Iterator based on a BoxLayout object.

An Iterator based on a BoxLayout object. It does not support a dereferencing operation, since it is intended to work with all of BoxLayouts, DisjointBoxLayouts, BoxLayoutDatas LevelDatas, and any object that is built on top of a BoxLayout object. DataIterator access the data in a BoxLayout-based object in a data-parallel manner. Order is not defined.


Constructor & Destructor Documentation

DataIterator::DataIterator   [inline]
 

a null constructed DataIterator will return false on ok()

DataIterator::~DataIterator   [inline]
 


Member Function Documentation

void DataIterator::begin   [inline]
 

void DataIterator::end  
 

skip the iterator to the end. ok() will return false after this method is called.

DataIndex DataIterator::i   const [inline]
 

void DataIterator::incr   [inline]
 

bool DataIterator::ok   const [inline]
 

const DataIndex & DataIterator::operator()   const [inline]
 

void DataIterator::operator++   [inline]
 

void DataIterator::reset   [inline]
 


Friends And Related Function Documentation

friend class BoxLayout [friend]
 

friend class DisjointBoxLayout [friend]
 


The documentation for this class was generated from the following file:
Generated on Thu Aug 29 11:07:39 2002 for Chombo&INS by doxygen1.2.16