#include <mapExpression.h>
A Variable is a mutable memory cell that holds a value. Changing a variable's value invalidates any expressions using that variable.
Definition at line 96 of file mapExpression.h.
PcpMapExpression::Variable::Variable |
( |
| ) |
|
|
default |
virtual PcpMapExpression::Variable::~Variable |
( |
| ) |
|
|
virtual |
Return an expression representing the value of this variable. This lets you use the variable as a sub-term in other expressions.
virtual const Value& PcpMapExpression::Variable::GetValue |
( |
| ) |
const |
|
pure virtual |
Return the current value.
virtual void PcpMapExpression::Variable::SetValue |
( |
Value && |
value | ) |
|
|
pure virtual |
Mutate the variable to have the new value. This will also invalidate dependant expressions.
The documentation for this class was generated from the following file: