Sundance::ExplicitCellIterator Class Reference

List of all members.

Public Member Functions

 ExplicitCellIterator (const Set< int >::const_iterator &iter)
const int & operator* () const
CellIterator operator++ (int)
CellIteratoroperator++ ()
bool operator== (const CellIterator &other) const
bool operator!= (const CellIterator &other) const

Private Attributes

int currentLID_
CellSetBasecellSet_


Detailed Description

Definition at line 47 of file SundanceExplicitCellIterator.hpp.


Constructor & Destructor Documentation

Sundance::ExplicitCellIterator::ExplicitCellIterator ( const Set< int >::const_iterator &  iter  ) 


Member Function Documentation

bool Sundance::ExplicitCellIterator::operator!= ( const CellIterator other  )  const [inline]

const int& Sundance::ExplicitCellIterator::operator* (  )  const [inline]

Dereferencing operator

Definition at line 54 of file SundanceExplicitCellIterator.hpp.

CellIterator& Sundance::ExplicitCellIterator::operator++ (  )  [inline]

Prefix increment: advances iterator, returning new value

Definition at line 66 of file SundanceExplicitCellIterator.hpp.

CellIterator Sundance::ExplicitCellIterator::operator++ ( int   )  [inline]

Postfix increment: advances iterator and returns previous value

Definition at line 57 of file SundanceExplicitCellIterator.hpp.

bool Sundance::ExplicitCellIterator::operator== ( const CellIterator other  )  const [inline]

Definition at line 73 of file SundanceExplicitCellIterator.hpp.

References Sundance::CellIterator::iter_.


Member Data Documentation

Unmanaged pointer to the cell set through which this iterator is iterating

Definition at line 92 of file SundanceExplicitCellIterator.hpp.

The LID to which this iterator is currently pointing.

Definition at line 88 of file SundanceExplicitCellIterator.hpp.

Referenced by operator!=().

Site Contact