Loading...
Searching...
No Matches
Foam::expressions::Detail Namespace Reference

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.

Detailed Description

A namespace for implementation details related to expressions.

Function Documentation

◆ nComponents()

Foam::direction nComponents ( const expressions::valueTypeCode typeCode)
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().

Here is the caller graph for this function:

◆ rank()

Foam::direction rank ( const expressions::valueTypeCode typeCode)
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().

Here is the caller graph for this function: