A single value that is represented as a list with an operator[] to access the value. This can be useful for templated operations expecting a list accessor. More...
#include <UniformList.H>

Public Member Functions | |
| UniformList (const Type &val) noexcept | |
| Construct from given value. | |
| UniformList (Type &&val) noexcept | |
| Move construct from given value. | |
| const Type & | value () const noexcept |
| Return the value. | |
| Type & | value () noexcept |
| Non-const access to the value. | |
| operator const Type & () const noexcept | |
| Implicit cast to the value. | |
| const Type & | operator[] (const label) const noexcept |
| Return the value. | |
A single value that is represented as a list with an operator[] to access the value. This can be useful for templated operations expecting a list accessor.
Definition at line 48 of file UniformList.H.
|
inlineexplicitnoexcept |
|
inlineexplicitnoexcept |
Move construct from given value.
Definition at line 72 of file UniformList.H.
References Foam::noexcept.
|
inlinenoexcept |
Return the value.
Definition at line 83 of file UniformList.H.
References Foam::noexcept.
Referenced by UniformField< Type >::field(), Foam::max(), Foam::max(), Foam::max(), Foam::min(), Foam::min(), and Foam::min().

|
inlinenoexcept |
Non-const access to the value.
Definition at line 91 of file UniformList.H.
References Foam::noexcept.
|
inlinenoexcept |
Implicit cast to the value.
Definition at line 102 of file UniformList.H.
|
inlinenoexcept |
Return the value.
Definition at line 110 of file UniformList.H.