Public Member Functions | List of all members
Enum::const_iterator Class Reference

Public Member Functions

 const_iterator (const Enum *eptr=nullptr, const label idx=0) noexcept
 
const wordkey () const
 
EnumType val () const
 
const wordoperator* () const
 
const_iteratoroperator++ () noexcept
 
bool operator== (const const_iterator &iter) const noexcept
 
bool operator!= (const const_iterator &iter) const noexcept
 

Detailed Description

Definition at line 257 of file Enum.H.

Constructor & Destructor Documentation

◆ const_iterator()

const_iterator ( const Enum eptr = nullptr,
const label  idx = 0 
)
inlineexplicitnoexcept

Definition at line 170 of file EnumI.H.

Member Function Documentation

◆ key()

const Foam::word & key ( ) const
inline

Definition at line 182 of file EnumI.H.

References Enum::names().

Here is the call graph for this function:

◆ val()

EnumType val ( ) const
inline

Definition at line 189 of file EnumI.H.

◆ operator*()

const word& operator* ( ) const
inline

Definition at line 283 of file Enum.H.

References Foam::glTF::key().

Here is the call graph for this function:

◆ operator++()

Foam::Enum< EnumType >::const_iterator & operator++ ( )
inlinenoexcept

Definition at line 197 of file EnumI.H.

◆ operator==()

bool operator== ( const const_iterator iter) const
inlinenoexcept

Definition at line 206 of file EnumI.H.

◆ operator!=()

bool operator!= ( const const_iterator iter) const
inlinenoexcept

Definition at line 216 of file EnumI.H.


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