class Parameter

Calculates the addition,substraction, multiplication or division (depends on the operator _op), of _m1 and _m2. More...

Definition#include <parameter.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Members


Detailed Description

Calculates the addition,substraction, multiplication or division (depends on the operator _op), of _m1 and _m2. The diference between this method and a new Operator instance is that this method first checks if both _m1 and _m2 are constant and then just returns a new Constant object instead of an Operator.

void setDataType (const QString & pref)

Sets the data type we want this parameter to be. We can then quickly check if this parameter has a correct type using checkDatatype

Example: setDataType("Constant"); ... if (!checkDataType(vars)) return;


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