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

LayoutIterator Class Reference

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

#include <LayoutIterator.H>

Collaboration diagram for LayoutIterator:

Collaboration graph
[legend]
List of all members.

Public Methods

 ~LayoutIterator ()
const LayoutIndexoperator() () const
LayoutIndex i () const
void operator++ ()
void incr ()
bool ok () const
void reset ()
void begin ()
void end ()

Friends

class BoxLayout

Detailed Description

An Iterator based on a BoxLayout object.

An Iterator based on a BoxLayout object. It does not support a dereferencing operation(1), since it is intended to work with all of BoxLayouts, DisjointBoxLayouts, BoxLayoutDatas LevelData's, and any object that is built on top of a BoxLayout object. LayoutIterator access the data in a BoxLayout-based object in a NON-data-parallel manner.

BoxLayout-based objects act as the Factory for the LayoutIterator.

(1) STL-speak. not critical for comprehension, but can help people familiar with STL iterators and expecting similar behaviour.


Constructor & Destructor Documentation

LayoutIterator::~LayoutIterator   [inline]
 


Member Function Documentation

void LayoutIterator::begin   [inline]
 

void LayoutIterator::end  
 

skip the iterator to the end.

LayoutIndex LayoutIterator::i   const [inline]
 

void LayoutIterator::incr   [inline]
 

bool LayoutIterator::ok   const [inline]
 

const LayoutIndex & LayoutIterator::operator()   const [inline]
 

void LayoutIterator::operator++   [inline]
 

void LayoutIterator::reset  
 


Friends And Related Function Documentation

friend class BoxLayout [friend]
 


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