|
Hormiga 1.0
|
#include <function.h>


Public Member Functions | |
| virtual T_STRING | toString () const |
| virtual T_MAGNITUDE | getValue () const |
| virtual T_STRING | getSymbol () const |
| virtual bool | isConstantExpresion () const |
| FunctionInstanceIterator * | getIterator () const |
| FunctionInstance (Function *f, T_FUNCTION_ARGUMENTS *argv) | |
| virtual | ~FunctionInstance () |
Protected Member Functions | |
| T_MAGNITUDE | eval (T_FUNCTION_ARGUMENTS *argv) const |
| T_MAGNITUDE | integrate (T_FUNCTION_ARGUMENTS *reals, T_FUNCTION_ARGUMENTS *internals, T_INT_ARRAY *seqArgs, int actualArg=0) const |
Protected Attributes | |
| Function * | f |
| T_FUNCTION_ARGUMENTS * | argv |
Definition at line 187 of file function.h.
| FunctionInstance::FunctionInstance | ( | Function * | f, |
| T_FUNCTION_ARGUMENTS * | argv | ||
| ) |
Definition at line 189 of file function.cpp.
| FunctionInstance::~FunctionInstance | ( | ) | [virtual] |
| T_MAGNITUDE FunctionInstance::eval | ( | T_FUNCTION_ARGUMENTS * | argv | ) | const [protected] |
Definition at line 184 of file function.cpp.


| FunctionInstanceIterator * FunctionInstance::getIterator | ( | ) | const |
| T_STRING FunctionInstance::getSymbol | ( | ) | const [virtual] |
Return de Symbol that represent this object, it can be the name of a variable.
Implements Operand.
Definition at line 90 of file function.cpp.

| T_MAGNITUDE FunctionInstance::getValue | ( | ) | const [virtual] |
Implements Operand.
Definition at line 105 of file function.cpp.

| T_MAGNITUDE FunctionInstance::integrate | ( | T_FUNCTION_ARGUMENTS * | reals, |
| T_FUNCTION_ARGUMENTS * | internals, | ||
| T_INT_ARRAY * | seqArgs, | ||
| int | actualArg = 0 |
||
| ) | const [protected] |
Definition at line 150 of file function.cpp.


| bool FunctionInstance::isConstantExpresion | ( | ) | const [virtual] |
Return TRUE if this expresion is composed only by constants. Return FALSE if this expresion contains some variable or function call.
Implements Operand.
Definition at line 95 of file function.cpp.
| T_STRING FunctionInstance::toString | ( | ) | const [virtual] |
Implements Operand.
Definition at line 76 of file function.cpp.

T_FUNCTION_ARGUMENTS* FunctionInstance::argv [protected] |
Definition at line 204 of file function.h.
Function* FunctionInstance::f [protected] |
Definition at line 203 of file function.h.