DenseIntVectSetIterator Class Reference

#include <DenseIntVectSet.H>

List of all members.


Detailed Description

Iterate over all the 'true' members of a DenseIntVectSet set.

This class is used by IVSIterator to implement its iterator when IntVectSet is stored as a DenseIntVectSet.

Public Member Functions

 DenseIntVectSetIterator ()
 DenseIntVectSetIterator (const DenseIntVectSet &ivs)
void define (const DenseIntVectSet &ivs)
const IntVectoperator() () const
bool ok () const
void operator++ ()
void begin ()
void end ()

Static Public Attributes

static DenseIntVectSet emptyDenseIntVectSet

Private Member Functions

void thisIntVect (const int a_linearPos)
void setStride ()

Private Attributes

BitSetTrueIterator m_iterator
const DenseIntVectSetm_ivsPtr
IntVect m_current
IntVect m_stride
int m_prevLinearPos


Constructor & Destructor Documentation

DenseIntVectSetIterator::DenseIntVectSetIterator (  )  [inline]

After default construction, ok() is false so it looks like an empty bitset but if operator++() is called, it will fail.

DenseIntVectSetIterator::DenseIntVectSetIterator ( const DenseIntVectSet ivs  )  [inline]

Never really used. Normal construction by IntVectSet is default then define().

References m_iterator, ok(), setStride(), and thisIntVect().


Member Function Documentation

void DenseIntVectSetIterator::define ( const DenseIntVectSet ivs  )  [inline]

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

References m_current.

bool DenseIntVectSetIterator::ok (  )  const [inline]

void DenseIntVectSetIterator::operator++ (  )  [inline]

void DenseIntVectSetIterator::begin (  )  [inline]

void DenseIntVectSetIterator::end (  )  [inline]

References BitSetTrueIterator::end(), and m_iterator.

Referenced by IVSIterator::end().

void DenseIntVectSetIterator::thisIntVect ( const int  a_linearPos  )  [private]

void DenseIntVectSetIterator::setStride (  )  [inline, private]


Member Data Documentation

Referenced by define(), operator++(), and setStride().

Referenced by operator()().

Referenced by setStride().

Referenced by begin(), and define().


The documentation for this class was generated from the following file:

Generated on Fri Jun 23 04:03:40 2017 for Chombo + EB by  doxygen 1.5.5