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

IVSIterator Class Reference

Iterator for an IntVectSet. More...

#include <IntVectSet.H>

Collaboration diagram for IVSIterator:

Collaboration graph
[legend]
List of all members.

Public Methods

 IVSIterator ()
 IVSIterator (const IntVectSet &ivs)
 ~IVSIterator ()
void define (const IntVectSet &ivs)
const IntVectoperator() () const
const IntVectiv () const
bool ok () const
void operator++ ()
void incr ()
void begin ()
void reset ()
void end ()

Detailed Description

Iterator for an IntVectSet.

IVSIterator iterates over every point (IntVect) in an IntVectSet. It has exactly the same syntax and sematic as BoxIterator. Typical usage:\

\begin{verbatim} IntVectSet ivs; ... IVSIterator ivsit (ivs); for (ivsit.begin(); ivsit.ok(); ++ivsit) { IntVect iv = ivsit(); (do operations involving iv) } \end{verbatim}


Constructor & Destructor Documentation

IVSIterator::IVSIterator   [inline]
 

IVSIterator::IVSIterator const IntVectSet   ivs
 

IVSIterator::~IVSIterator   [inline]
 


Member Function Documentation

void IVSIterator::begin   [inline]
 

void IVSIterator::define const IntVectSet   ivs
 

void IVSIterator::end   [inline]
 

void IVSIterator::incr   [inline]
 

const IntVect& IVSIterator::iv   const [inline]
 

bool IVSIterator::ok   const [inline]
 

const IntVect & IVSIterator::operator()   const [inline]
 

void IVSIterator::operator++   [inline]
 

void IVSIterator::reset   [inline]
 


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