next up previous contents
Next: 3.1.7.1 Global Parameters Up: 3.1 Basic Facilities Previous: 3.1.6 Dynamic Loading of


3.1.7 Parameters and Values

The Algorithm Library provides a basic set of predefined parameter and value types listed in Table 3.2. Additional simulator specific parameter types and their related operators can easily be defined by appropriate C++ classes (Section 2.3.1.1).


Table 3.2: Built-in MDL Parameter types
Type Description
int integer values
long long integer values
double real values
MdlBool boolean values
MdlString string values
StdStream input/output stream

Parameters can be defined within global scope (Section 3.1.7.1) or as local, static, and interface parameters of a specific MDL class (Section 3.2.1 - Section 3.2.3). In any of these cases a parameter of the type parType and the name parName is defined using the following syntax:

Parameter<parType> parName;
Parameter<parType> parName = expr;

The optional default value results from the evaluation of the MDL expression expr.




next up previous contents
Next: 3.1.7.1 Global Parameters Up: 3.1 Basic Facilities Previous: 3.1.6 Dynamic Loading of
Robert Mlekus
1999-11-14