From eedd992ad49dba82d9a7b915e471660059b716bf Mon Sep 17 00:00:00 2001 From: asl Date: Tue, 8 Dec 2009 11:09:40 +0000 Subject: [PATCH] New method GetParametersDependingOn() --- idl/SALOME_Notebook.idl | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/idl/SALOME_Notebook.idl b/idl/SALOME_Notebook.idl index 2b0d696f8..5b254e720 100644 --- a/idl/SALOME_Notebook.idl +++ b/idl/SALOME_Notebook.idl @@ -128,16 +128,16 @@ module SALOME //! 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 ); }; @@ -195,16 +195,19 @@ module SALOME //! 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 @@ -219,6 +222,7 @@ module SALOME + //auxiliary methods //! Dump of Notebook internal data structure for debug purposes @@ -226,6 +230,9 @@ module SALOME //! 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 ); }; }; -- 2.39.2