phasePair::const_iterator Class Reference

STL const_iterator. More...

Public Member Functions

 const_iterator (const phasePair &)
 Construct from pair, moving to its 'begin' position. More...
 
label index () const
 Return the current index. More...
 
bool operator== (const const_iterator &) const
 
bool operator!= (const const_iterator &) const
 
const phaseModeloperator* () const
 
const phaseModeloperator() () const
 
const phaseModelotherPhase () const
 
const_iteratoroperator++ ()
 
const_iterator operator++ (int)
 

Friends

class phasePair
 

Detailed Description

STL const_iterator.

Definition at line 181 of file phasePair.H.

Constructor & Destructor Documentation

◆ const_iterator()

const_iterator ( const phasePair pair)
inlineexplicit

Construct from pair, moving to its 'begin' position.

Definition at line 116 of file phasePairI.H.

Member Function Documentation

◆ index()

Foam::label index ( ) const
inline

Return the current index.

Definition at line 122 of file phasePairI.H.

◆ operator==()

bool operator== ( const const_iterator iter) const
inline

Definition at line 129 of file phasePairI.H.

Referenced by phasePair::const_iterator::operator!=().

Here is the caller graph for this function:

◆ operator!=()

bool operator!= ( const const_iterator iter) const
inline

Definition at line 138 of file phasePairI.H.

References phasePair::const_iterator::operator==().

Here is the call graph for this function:

◆ operator*()

const Foam::phaseModel & operator* ( ) const
inline

Definition at line 147 of file phasePairI.H.

Referenced by phasePair::const_iterator::operator()().

Here is the caller graph for this function:

◆ operator()()

const Foam::phaseModel & operator() ( ) const
inline

Definition at line 161 of file phasePairI.H.

References phasePair::const_iterator::operator*().

Here is the call graph for this function:

◆ otherPhase()

const Foam::phaseModel & otherPhase ( ) const
inline

Definition at line 168 of file phasePairI.H.

◆ operator++() [1/2]

Definition at line 182 of file phasePairI.H.

Referenced by phasePair::const_iterator::operator++().

Here is the caller graph for this function:

◆ operator++() [2/2]

Definition at line 190 of file phasePairI.H.

References phasePair::const_iterator::operator++().

Here is the call graph for this function:

Friends And Related Function Documentation

◆ phasePair

friend class phasePair
friend

Definition at line 196 of file phasePair.H.


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