Public Member Functions | Private Attributes
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 58 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 65 of file SundanceExplicitCellIterator.hpp.

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

Postfix increment: advances iterator and returns previous value

Definition at line 68 of file SundanceExplicitCellIterator.hpp.

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

Prefix increment: advances iterator, returning new value

Definition at line 77 of file SundanceExplicitCellIterator.hpp.

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

Definition at line 84 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 103 of file SundanceExplicitCellIterator.hpp.

The LID to which this iterator is currently pointing.

Definition at line 99 of file SundanceExplicitCellIterator.hpp.

Referenced by operator!=().

Site Contact