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...
Public Member Functions | |
UniformList (const Type &val) noexcept | |
Construct from given value. More... | |
UniformList (Type &&val) noexcept | |
Move construct from given value. More... | |
const Type & | value () const noexcept |
Return the value. More... | |
Type & | value () noexcept |
Non-const access to the value. More... | |
operator const Type & () const noexcept | |
Implicit cast to the value. More... | |
const Type & | operator[] (const label) const noexcept |
Return the value. More... | |
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 |
Construct from given value.
Definition at line 64 of file UniformList.H.
|
inlineexplicitnoexcept |
Move construct from given value.
Definition at line 72 of file UniformList.H.
|
inlinenoexcept |
Return the value.
Definition at line 83 of file UniformList.H.
Referenced by Foam::max(), and Foam::min().
|
inlinenoexcept |
Non-const access to the value.
Definition at line 91 of file UniformList.H.
|
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.