OpenCurves
0.9
|
A unary bracket operator, ensuring operation precedence. More...
#include <plotbracketexpression.h>
Public Member Functions | |
PlotBracketExpression (PlotExpression *operand) | |
Constructor, wrapping operand in brackets. More... | |
virtual double | sample (double sampleTime) const |
Samples the bracketed expression. More... | |
virtual PlotExpression * | clone () const |
Clones this expression. More... | |
![]() | |
PlotUnaryOperator (PlotExpression *operand) | |
Create a binary operator on the given left and right expressions. More... | |
~PlotUnaryOperator () | |
Destructor, destroying the child. | |
void | setOperand (PlotExpression *operand) |
Set the operand expression. More... | |
const PlotExpression * | operand () const |
Get the operand expression. More... | |
virtual BindResult | bind (const QList< PlotInstance * > &curves, PlotBindingTracker &bindTracker, PlotExpressionBindDomain &domain, bool repeatLastBinding=false) |
Binds the operand expression. | |
virtual void | unbind () |
Unbind the operand. | |
bool | explicitTime () const override |
Is the generated expression sensitive to changes in the time domain? More... | |
![]() | |
PlotExpression () | |
Empty constructor. | |
virtual | ~PlotExpression () |
Empty, virtual destructor. | |
QString | toString () const |
Converts the PlotExpression into a parseable string form. More... | |
A unary bracket operator, ensuring operation precedence.
|
inline |
Constructor, wrapping operand
in brackets.
operand | Operand to wrap in brackets. |
|
virtual |
|
virtual |
Samples the bracketed expression.
sampleTime | Time at which to sample. |
operand()
at time sampleTime
. Implements PlotExpression.