Pure virtual base function for 1-argument functions. More...
#include <qExpr.h>
Public Member Functions | |
virtual sfunc1 * | dup () const =0 |
Duplicate thyself. Should follow deep-copy semantics. | |
virtual std::string | 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 std::string object. Note that the derived classes much support copy construction through the function dup.