#include <Function.hpp>
Inheritance diagram for Function:
Public Member Functions | |
void | addArgument (Result *pres) |
void | clearArguments () |
virtual std::string | toString (Context &context) |
Protected Attributes | |
std::vector< Result * > | vpresArguments |
void Function::addArgument | ( | Result * | pres | ) |
Add an argument to the function, for example in addion each of the values to be added together would be specified with this function.
[in] | pres | An argument for the function. |
void Function::clearArguments | ( | ) |
Removes all the arguments. This should be called by the parent symbol after executing the function
string Function::toString | ( | Context & | context | ) | [virtual] |
std::vector<Result*> Function::vpresArguments [protected] |
The arguments to be used in the funtion.