42 const UList<expressions::exprString>& list
57 for (
const expressions::exprString& str : list)
112 variableStrings_ = readVariableStrings(
dict,
"variable", mandatory);
114 return variableStrings_.size();
126 os.writeKeyword(keyword);
129 writeList(
os, variableStrings_);
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Ostream & writeVariableStrings(Ostream &os, const word &keyword="") const
Write "variables".
static expressions::exprString readExpression(const word &name, const dictionary &dict)
Read an expression string and do substitutions.
label setVariableStrings(const dictionary &dict, bool mandatory=false)
Read "variables" and assigns to the list of expression strings.
static List< expressions::exprString > readVariableStrings(const dictionary &dict, const word &name="variables", bool mandatory=false)
Read the list of variable strings.
const dictionary & dict() const noexcept
The dictionary with all input data/specification.
@ BEGIN_LIST
Begin list [isseparator].
@ END_LIST
End list [isseparator].
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
A variant of Foam::string with expansion of dictionary variables into a comma-separated form.
void writeList(vtk::formatter &fmt, const UList< uint8_t > &values)
Write a list of uint8_t values.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
constexpr char nl
The newline '\n' character (0x0a)