|
| defineTypeName (expressionEntry) |
|
| defineRunTimeSelectionTable (expressionEntry, empty) |
|
| addNamedToRunTimeSelectionTable (expressionEntry, expressionEntry, empty, direct) |
|
| addNamedToRunTimeSelectionTable (expressionEntry, expressionEntry, empty, label) |
|
| addNamedToRunTimeSelectionTable (expressionEntry, expressionEntry, empty, scalar) |
|
| addNamedToRunTimeSelectionTable (expressionEntry, expressionEntry, empty, word) |
|
| addNamedToRunTimeSelectionTable (expressionEntry, boolEntry, empty, bool) |
|
| addNamedToRunTimeSelectionTable (expressionEntry, dimensionedScalarEntry, empty, dimensionedScalar) |
|
| addNamedToRunTimeSelectionTable (expressionEntry, dimensionedVectorEntry, empty, dimensionedVector) |
|
| addNamedToRunTimeSelectionTable (expressionEntry, dimensionedTensorEntry, empty, dimensionedTensor) |
|
| addNamedToRunTimeSelectionTable (expressionEntry, dimensionedSymmTensorEntry, empty, dimensionedSymmTensor) |
|
| addNamedToRunTimeSelectionTable (expressionEntry, dimensionedSphericalTensorEntry, empty, dimensionedSphericalTensor) |
|
| addNamedToRunTimeSelectionTable (expressionEntry, stringEntry, empty, string) |
|
| addNamedToRunTimeSelectionTable (expressionEntry, stringEntry, empty, fileName) |
|
| addNamedToRunTimeSelectionTable (expressionEntry, vectorEntry, empty, vector) |
|
| addNamedToRunTimeSelectionTable (expressionEntry, tensorEntry, empty, tensor) |
|
| addNamedToRunTimeSelectionTable (expressionEntry, symmTensorEntry, empty, symmTensor) |
|
| addNamedToRunTimeSelectionTable (expressionEntry, sphericalTensorEntry, empty, sphericalTensor) |
|
template<class Type > |
string | zeroValue () |
| Stringified value for zero of given type. More...
|
|
template<class Type > |
string | toString (const Type &data, const word &prefix) |
| Stringified version of data with comma separators between components. More...
|
|
template<class Type > |
string | toString (const Type &data) |
| Stringified version of data with comma separators between components. Uses prefix corresponding to the pTraits of Type. More...
|
|
template<class Type > |
string | toString (ITstream &is) |
| Stringified version of primitiveEntry of Type. Uses comma separators and prefix corresponding to the pTraits of Type. More...
|
|
List< expressions::exprString > | getList (const word &keyword, const dictionary &dict, bool mandatory=true, label recursionDepth=0) |
| Get an expression string list from a dictionary. More...
|
|
Helper methods for creating expressions.
- Source files
-
Get an expression string list from a dictionary.
Supports list and inline specifications, as well as indirect inclusion of other expression string lists.
Syntax examples,
list1a "var1=p";
list1b ( "var1=p" );
list2a "var2=T; var3=U; var4=rho";
list2b ( "var2=T" "var3=U; var4=rho" );
list3a "#list1a; #list2b";
list2b ( "var1=p" "#list2a" );
Definition at line 116 of file exprTools.C.
References dict, Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, token::isLabel(), token::isPunctuation(), token::isString(), Foam::nl, List< T >::resize(), ITstream::rewind(), entry::stream(), and token::stringToken().
Referenced by exprDriver::readVariableStrings().