class MapVariableArguments

. More...

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

Public Methods

Protected Methods

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

unsigned int m_maxParameters

[protected: ]

void  allocParameter (unsigned int i, Parameter *parameter)

[protected: ]

void  freeParameter (unsigned int i)

[protected: ]

 MapVariableArguments ( const QString &decl = QString(), const QString &nam = QString(), bool parsedefinition=true )

 MapVariableArguments (const MapVariableArguments &m)

 ~MapVariableArguments ()

Mapcopy (void)

[const virtual]

Reimplemented from Map.

void  setParameterExpression (unsigned int i,const QString &expr)

[virtual]

Reimplemented from Map.

void  setParameterExpression (unsigned int i, Map *expr)

[virtual]

Reimplemented from Map.

void  setParameterExpression (unsigned int i, Parameter *expr)

[virtual]

Reimplemented from Map.

void  addParameterName (const QString &name)

void  delParameterName (const QString &name)

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.

Mapderive (const class Variable &var, const QDict <Map> &vars)

[virtual]

Reimplemented from Map.

QString  string (void)

[const virtual]

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

int  isArgumentName (const QString &nam)

[const]


Generated by: antonio@tazend on Fri May 25 22:16:00 2001, using kdoc 2.0a38.