A namespace for implementation details related to expressions. More...
Classes | |
| union | exprValueUnion |
| The data content (as a union). More... | |
Functions | |
| ::Foam::direction | nComponents (const expressions::valueTypeCode) noexcept |
| The number of components associated with given valueTypeCode. | |
| ::Foam::direction | rank (const expressions::valueTypeCode) noexcept |
| The vector-space rank associated with given valueTypeCode. | |
|
noexcept |
The number of components associated with given valueTypeCode.
Definition at line 39 of file exprTraits.C.
References doLocalCode, FOR_ALL_EXPR_TYPE_CODES, Foam::expressions::INVALID, and Foam::expressions::NONE.
Referenced by exprValue::nComponents(), and exprValue::nComponents().

|
noexcept |
The vector-space rank associated with given valueTypeCode.
Definition at line 69 of file exprTraits.C.
References doLocalCode, FOR_ALL_EXPR_TYPE_CODES, Foam::expressions::INVALID, and Foam::expressions::NONE.
Referenced by exprValue::rank(), and exprValue::rank().
