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 180 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 112 of file phasePairI.H.

Member Function Documentation

◆ index()

Foam::label index ( ) const
inline

Return the current index.

Definition at line 118 of file phasePairI.H.

◆ operator==()

bool operator== ( const const_iterator iter) const
inline

Definition at line 124 of file phasePairI.H.

◆ operator!=()

bool operator!= ( const const_iterator iter) const
inline

Definition at line 133 of file phasePairI.H.

References phasePairKey::operator==.

◆ operator*()

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

Definition at line 143 of file phasePairI.H.

◆ operator()()

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

Definition at line 157 of file phasePairI.H.

References Foam::operator*().

Here is the call graph for this function:

◆ otherPhase()

const Foam::phaseModel & otherPhase ( ) const
inline

Definition at line 164 of file phasePairI.H.

◆ operator++() [1/2]

Foam::phasePair::const_iterator & operator++ ( )
inline

Definition at line 178 of file phasePairI.H.

◆ operator++() [2/2]

Foam::phasePair::const_iterator operator++ ( int  )
inline

Definition at line 186 of file phasePairI.H.

Friends And Related Function Documentation

◆ phasePair

friend class phasePair
friend

Definition at line 195 of file phasePair.H.


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