40 #ifndef Foam_expressions_exprResultStack_H 41 #define Foam_expressions_exprResultStack_H TypeName("exprResultStack")
Runtime type information.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
A polymorphic field/result from evaluating an expression.
void operator=(const exprResultStack &rhs)
Copy assignment.
exprResult pop()
Pop the last value as an expression result.
virtual ~exprResultStack()=default
Destructor.
virtual autoPtr< exprResult > clone() const
Clone.
void push(const exprResult &result)
Push an expression result value.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
exprResultStack()
Default construct.
A stack of polymorphic fields. Can be used to build a list of results one at a time.