class MapVariableArguments

. More...

Definition#include <mapvararg.h>
InheritsMap
Inherited byMapVariableArgumentsInternal, MatrixExtract
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Members

Protected Members


Detailed Description

... as follows :

g(1) ----> (g's first parameter name)=1 == x=1 | g(x) ----> x=x | * / \ 3 f(x) ----> x=eval(x)=1 | f(x) ----> x=x | + / \ x 2

void mimetizeFunction (Map *m)

When doing lazy evaluation, mimetizeFunction is used to get as much information from m as needed to evaluate this function. That is, number of parameter, parameter names, and most important, the map's tree. Note that this method also removes the parameters in m, moving them to this object

Map * eval (const QDict<Map> &)
[virtual]

Checks if we're doing lazy function evaluation, and calls setFunction if appropiate. Then, it calls Map::eval.

Reimplemented from Map

int argumentIndex (const QString &nam)
[const]

Returns the index of the argument with name nam (in the range 0..nparams) Returns -1 if there's no parameter with that name


Generated by: antlarr@terminus on Wed May 31 08:19:51 2000, using kdoc 2.0a22.