Chaste  Release::3.4
Node< SPACE_DIM >::ContainingElementIterator Class Reference

#include <Node.hpp>

+ Collaboration diagram for Node< SPACE_DIM >::ContainingElementIterator:

Public Member Functions

 ContainingElementIterator (std::set< unsigned >::const_iterator indexIterator)
 
const unsignedoperator* () const
 
bool operator!= (const ContainingElementIterator &rOther) const
 
bool operator== (const ContainingElementIterator &rOther) const
 
ContainingElementIteratoroperator++ ()
 

Private Attributes

std::set< unsigned >
::const_iterator 
mIndexIterator
 

Detailed Description

template<unsigned SPACE_DIM>
class Node< SPACE_DIM >::ContainingElementIterator

An iterator over the indices of elements which contain this node.

Definition at line 391 of file Node.hpp.

Constructor & Destructor Documentation

template<unsigned SPACE_DIM>
Node< SPACE_DIM >::ContainingElementIterator::ContainingElementIterator ( std::set< unsigned >::const_iterator  indexIterator)
inline

Constructor for a new ContainingElementIterator.

Parameters
indexIteratoran index iterator

Definition at line 399 of file Node.hpp.

Member Function Documentation

template<unsigned SPACE_DIM>
bool Node< SPACE_DIM >::ContainingElementIterator::operator!= ( const ContainingElementIterator rOther) const
inline
Returns
Comparison not-equal-to.
Parameters
rOtherContainingElementIterator with which comparison is made

Definition at line 415 of file Node.hpp.

References Node< SPACE_DIM >::ContainingElementIterator::mIndexIterator.

Referenced by Node< SPACE_DIM >::ContainingElementIterator::operator==().

template<unsigned SPACE_DIM>
const unsigned& Node< SPACE_DIM >::ContainingElementIterator::operator* ( ) const
inline

Prefix dereference operator.

Returns
reference

Definition at line 406 of file Node.hpp.

References Node< SPACE_DIM >::ContainingElementIterator::mIndexIterator.

template<unsigned SPACE_DIM>
ContainingElementIterator& Node< SPACE_DIM >::ContainingElementIterator::operator++ ( )
inline

Prefix increment operator.

Returns
reference to incremented object

Definition at line 432 of file Node.hpp.

References Node< SPACE_DIM >::ContainingElementIterator::mIndexIterator.

template<unsigned SPACE_DIM>
bool Node< SPACE_DIM >::ContainingElementIterator::operator== ( const ContainingElementIterator rOther) const
inline
Returns
Comparison equal-to.
Parameters
rOtherContainingElementIterator with which comparison is made

Definition at line 424 of file Node.hpp.

References Node< SPACE_DIM >::ContainingElementIterator::operator!=().

Member Data Documentation

template<unsigned SPACE_DIM>
std::set<unsigned>::const_iterator Node< SPACE_DIM >::ContainingElementIterator::mIndexIterator
private

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