From: asl Date: Tue, 8 Dec 2009 11:09:40 +0000 (+0000) Subject: New method GetParametersDependingOn() X-Git-Tag: PHASE_17_Part1_V3~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=eedd992ad49dba82d9a7b915e471660059b716bf;p=modules%2Fkernel.git New method GetParametersDependingOn() --- 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 ); }; };