Hormiga 1.0

FunctionInstance Class Reference

#include <function.h>

Inheritance diagram for FunctionInstance:
Collaboration diagram for FunctionInstance:

List of all members.

Public Member Functions

virtual T_STRING toString () const
virtual T_MAGNITUDE getValue () const
virtual T_STRING getSymbol () const
virtual bool isConstantExpresion () const
FunctionInstanceIteratorgetIterator () 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

Functionf
T_FUNCTION_ARGUMENTS * argv

Detailed Description

FunctionInstance

Definition at line 187 of file function.h.


Constructor & Destructor Documentation

FunctionInstance::FunctionInstance ( Function f,
T_FUNCTION_ARGUMENTS *  argv 
)

Definition at line 189 of file function.cpp.

FunctionInstance::~FunctionInstance ( ) [virtual]

Definition at line 195 of file function.cpp.

Here is the call graph for this function:


Member Function Documentation

T_MAGNITUDE FunctionInstance::eval ( T_FUNCTION_ARGUMENTS *  argv) const [protected]

Definition at line 184 of file function.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

FunctionInstanceIterator * FunctionInstance::getIterator ( ) const

Definition at line 100 of file function.cpp.

Here is the caller graph for this function:

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.

Here is the call graph for this function:

T_MAGNITUDE FunctionInstance::getValue ( ) const [virtual]

Implements Operand.

Definition at line 105 of file function.cpp.

Here is the call graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

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]

FunctionInstance

Implements Operand.

Definition at line 76 of file function.cpp.

Here is the call graph for this function:


Member Data Documentation

T_FUNCTION_ARGUMENTS* FunctionInstance::argv [protected]

Definition at line 204 of file function.h.

Definition at line 203 of file function.h.


The documentation for this class was generated from the following files: