Pure virtual base function for 1-argument functions. More...
#include <qExpr.h>
Public Member Functions | |
virtual func1 * | dup () const =0 |
Duplicate thyself. Should follow deep-copy semantics. | |
virtual double | eval (double) const =0 |
Evaluate the function on the given argument. | |
virtual void | printDecoration (std::ostream &) const =0 |
Print the decoration on this function. | |
virtual void | printName (std::ostream &) const =0 |
Print the name of this function. | |
Pure virtual base function for 1-argument functions.
It takes an argument in double and return a double value. Note that the derived classes much support copy construction through the function dup.