10 #ifndef _STRUS_SCALAR_FUNCTION_INTERFACE_HPP_INCLUDED
11 #define _STRUS_SCALAR_FUNCTION_INTERFACE_HPP_INCLUDED
18 class ScalarFunctionInstanceInterface;
49 virtual std::string
tostring()
const=0;
virtual unsigned int getNofArguments() const =0
Get the number of arguments of this function.
virtual ScalarFunctionInstanceInterface * createInstance() const =0
Creates an instance of the function.
virtual std::vector< std::string > getVariables() const =0
Get the list of variables the function is parameterized with.
virtual ~ScalarFunctionInterface()
Destructor.
Definition: scalarFunctionInterface.hpp:28
virtual std::string tostring() const =0
Return the representation (VM code or whatever it is) of the function as string.
virtual void setDefaultVariableValue(const std::string &name, double value)=0
Set a variable value default.
Interface for parameterizing a scalar function.
Definition: scalarFunctionInstanceInterface.hpp:20
Interface for a scalar function type.
Definition: scalarFunctionInterface.hpp:24