Go to the documentation of this file.
49 #ifndef expressions_exprResultDelayed_H
50 #define expressions_exprResultDelayed_H
67 class exprResultDelayed
69 public expressions::exprResult
74 typedef Tuple2<scalar, expressions::exprResult> ValueAtTime;
83 expressions::exprString startExpr_;
86 expressions::exprResult settingResult_;
89 DLList<ValueAtTime> storedValues_;
92 scalar storeInterval_;
188 inline bool operator!=
exprResultDelayed()
Default construct.
A class for handling words, derived from Foam::string.
void setReadValue(const exprResult &val)
Set the readValue with a calculated value.
Istream & operator>>(Istream &, directionInfo &)
bool updateReadValue(const scalar &timeVal)
Update the read-value.
void storeValue(const scalar &timeVal)
Add a stored value.
Template class for non-intrusive linked lists.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
A polymorphic field/result from evaluating an expression.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual ~exprResultDelayed()=default
Destructor.
void writeDict(Ostream &os) const
An exprResult with an additional delay before evaluation.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
expressions::exprResult & target()
Simulate virtual templated methods.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const expressions::exprString & startupValueExpression() const
The initial value expression.
void operator=(const exprResultDelayed &rhs)
Copy assignment.
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...
TypeNameNoDebug("exprResultDelayed")
Runtime type information.
Database for solution data, solver performance and other reduced data.
virtual autoPtr< exprResult > clone() const
Clone.
const word & name() const
The expression name.