A const_iterator for iterating an Enum list.
More...
template<class EnumType>
class Foam::Enum< EnumType >::const_iterator
A const_iterator for iterating an Enum list.
- Note
- The iterator dereference returns the key
Definition at line 261 of file Enum.H.
◆ const_iterator()
Default construct, construct at given position.
Definition at line 177 of file EnumI.H.
◆ key()
◆ val()
Enumeration value at the current index.
Definition at line 196 of file EnumI.H.
◆ operator*()
const word& operator* |
( |
| ) |
const |
|
inline |
De-referencing returns the name (key)
This is similar to HashSet (not HashTable!) and allows convenient output and traversing of the names
Definition at line 287 of file Enum.H.
◆ operator++()
Move to the next index.
Definition at line 204 of file EnumI.H.
◆ operator==()
◆ operator!=()
The documentation for this class was generated from the following files:
- src/OpenFOAM/primitives/enums/Enum.H
- src/OpenFOAM/primitives/enums/EnumI.H