49#ifndef Foam_expressions_exprResultDelayed_H
50#define Foam_expressions_exprResultDelayed_H
69 public expressions::exprResult
74 typedef Tuple2<scalar, expressions::exprResult> ValueAtTime;
83 expressions::exprString startExpr_;
86 expressions::exprResult settingResult_;
92 scalar storeInterval_;
183 return (
this != &
rhs);
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A 2-tuple for storing two objects of dissimilar types. The container is similar in purpose to std::pa...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
An exprResult with an additional delay before evaluation.
void storeValue(const scalar &timeVal)
Add a stored value.
expressions::exprResult & target()
Simulate virtual templated methods.
bool operator!=(const exprResultDelayed &rhs) const noexcept
Compare for inequality (need by Ulist).
void operator=(const exprResultDelayed &rhs)
Copy assignment.
bool updateReadValue(const scalar &timeVal)
Update the read-value.
virtual autoPtr< exprResult > clone() const
Clone.
virtual ~exprResultDelayed()=default
Destructor.
const word & name() const noexcept
The expression name.
exprResultDelayed()
Default construct.
void writeDict(Ostream &os) const
TypeNameNoDebug("exprResultDelayed")
Runtime type information.
void setReadValue(const exprResult &val)
Set the readValue with a calculated value.
const expressions::exprString & startupValueExpression() const noexcept
The initial value expression.
A polymorphic field/result from evaluating an expression.
exprResult()
Default construct.
A variant of Foam::string with expansion of dictionary variables into a comma-separated form.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
A namespace for expression-related classes/traits etc.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces).
Istream & operator>>(Istream &, directionInfo &)
void rhs(fvMatrix< typename Expr::value_type > &m, const Expr &expression)
LList< DLListBase, T > DLList
#define TypeNameNoDebug(TypeNameString)
Declare a ClassNameNoDebug() with extra virtual type info.