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:
[legend]List of all members.
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] |
|
Member Data Documentation
bool IVSIterator::m_isdense [private]
|
|
The documentation for this class was generated from the following file:
Generated on Tue Jul 2 10:44:09 2002 for Chombo by
1.2.16