Create an expression string from a dimensionedScalar as its value. More...


Public Member Functions | |
| virtual string | toExpr (const entry &e) const |
| Entry to string. More... | |
Public Member Functions inherited from expressionEntry | |
| TypeNameNoDebug ("expressionEntry") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, expressionEntry, empty,(),()) | |
| expressionEntry () noexcept=default | |
| Default construct. More... | |
| virtual | ~expressionEntry ()=default |
| Destructor. More... | |
| template<class Type > | |
| Foam::string | toExprStr (const Type &data) |
| template<class Type > | |
| Foam::string | toExprStr (ITstream &is) |
Static Public Member Functions | |
| static string | evaluate (const entry &e) |
| Entry to string. More... | |
Static Public Member Functions inherited from expressionEntry | |
| static autoPtr< expressionEntry > | New (const word &name) |
| Return an entry to expression converter. More... | |
| static string | evaluate (const entry &e) |
| Generic concatenate tokens to space-separated string. More... | |
| static void | inplaceExpand (std::string &s, const dictionary &dict) |
| Inplace expand expression with dictionary variables/entries. More... | |
| static expressions::exprString | expand (const std::string &str, const dictionary &dict) |
| Expand expression with dictionary entries. More... | |
Additional Inherited Members | |
Static Protected Member Functions inherited from expressionEntry | |
| template<class Type > | |
| static string | toExprStr (const Type &data) |
| Stringified version of data with comma-separated components. Uses prefix corresponding to the pTraits of Type. More... | |
| template<class Type > | |
| static string | toExprStr (ITstream &is) |
| Comma-separated stringified version of primitiveEntry of Type. Prefix corresponding to the pTraits of Type. More... | |
Create an expression string from a dimensionedScalar as its value.
Definition at line 59 of file expressionEntryDimensioned.H.
|
static |
Entry to string.
Definition at line 93 of file expressionEntryDimensioned.C.
References Foam::constant::electromagnetic::e, and dimensioned< Type >::value().

Entry to string.
Reimplemented from expressionEntry.
Definition at line 59 of file expressionEntryDimensioned.H.