OpenCurves  0.9
PlotPower Class Reference

A PlotExpression which raises the results of one PlotExpression object by another. More...

#include <plotexpressionarithmetic.h>

Inheritance diagram for PlotPower:
PlotBinaryOperatorT< Power< double > > PlotBinaryOperator PlotExpression

Public Member Functions

 PlotPower (PlotExpression *left, PlotExpression *right)
 
- Public Member Functions inherited from PlotBinaryOperatorT< Power< double > >
 PlotBinaryOperatorT ()
 Default constructor: left and right are null.
 
 PlotBinaryOperatorT (PlotExpression *left, PlotExpression *right, const QString &opstr=QString())
 Branched constructor. More...
 
virtual double sample (double sampleTime) const
 Sample the branches and evaluate the results. More...
 
const QString & opStr () const
 Return the string used to combine left and right branches. More...
 
void setOpStr (const QString &str)
 Sets the string used to combine left and right branches. More...
 
virtual PlotExpressionclone () const
 Deep clone.
 
- Public Member Functions inherited from PlotBinaryOperator
 PlotBinaryOperator (PlotExpression *left, PlotExpression *right)
 Create a binary operator on the given left and right expressions. More...
 
 ~PlotBinaryOperator ()
 Destructor, destroying left and right.
 
void setLeft (PlotExpression *left)
 Set the left branch. More...
 
const PlotExpressionleft () const
 Get the left branch. More...
 
void setRight (PlotExpression *right)
 Set the right branch. More...
 
const PlotExpressionright () const
 Get the right branch. More...
 
virtual BindResult bind (const QList< PlotInstance * > &curves, PlotBindingTracker &bindTracker, PlotExpressionBindDomain &domain, bool repeatLastBinding=false)
 Binds the left and right branch expressions. More...
 
virtual void unbind ()
 Unbind left and right branches.
 
bool explicitTime () const override
 Is the generated expression sensitive to changes in the time domain? More...
 
- Public Member Functions inherited from PlotExpression
 PlotExpression ()
 Empty constructor.
 
virtual ~PlotExpression ()
 Empty, virtual destructor.
 
QString toString () const
 Converts the PlotExpression into a parseable string form. More...
 

Detailed Description

A PlotExpression which raises the results of one PlotExpression object by another.


The documentation for this class was generated from the following file: