//! return type of parameter
ParamType GetType();
- //! convert parameter into boolean
+ //! convert parameter to boolean
boolean AsBoolean() raises( TypeError );
- //! convert parameter into integer
+ //! convert parameter to integer
long AsInteger() raises( TypeError );
- //! convert parameter into real
+ //! convert parameter to real
double AsReal() raises( TypeError );
- //! convert parameter into string
+ //! convert parameter to string
string AsString() raises( TypeError );
};
//! access to parameter from notebook
Parameter GetParameter( in string name );
- //! access to temporary parameter in order to calculate an expression
- //! with notebook parameters without creation of anonymous variable
- Parameter Calculate( in string expr ) raises( ExpressionError, CalculationError );
-
//! return list of all names of parameters (without anonymous ones)
StringArray Parameters();
//! return list of necessary (by dependencies), but absent parameters
StringArray AbsentParameters( in string expr );
+ //! access to temporary parameter in order to calculate an expression
+ //! with notebook parameters without creation of anonymous variable
+ Parameter Calculate( in string expr ) raises( ExpressionError, CalculationError );
+
+
+
+
//persistence management
+
//auxiliary methods
//! Dump of Notebook internal data structure for debug purposes
//! Return string containing information about parameters used by object with given component and entry
string GetParameters( in string theComponent, in string theEntry );
+
+ //! Return names of all parameters depending on given parameter
+ StringArray GetParametersDependingOn( in string theParamName );
};
};