Salome HOME
0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH...
authoreap <eap@opencascade.com>
Wed, 7 Mar 2012 15:14:02 +0000 (15:14 +0000)
committereap <eap@opencascade.com>
Wed, 7 Mar 2012 15:14:02 +0000 (15:14 +0000)
+    void SetVarParameter (in string parameter, in string method);
+    string GetVarParameter (in string methodName);

idl/SMESH_Hypothesis.idl

index 9fe17a1bf17691c4de83f72b3c803a03f794736f..ba01c28ed723047fcb1642bc4eaba5d35bbd2dd5 100644 (file)
@@ -22,7 +22,6 @@
 
 //  File   : SMESH_Hypothesis.idl
 //  Author : Paul RASCLE, EDF
-//  $Header$
 //
 #ifndef _SMESH_HYPOTHESIS_IDL_
 #define _SMESH_HYPOTHESIS_IDL_
@@ -60,6 +59,22 @@ module SMESH
      */
     long GetId();
 
+    /*!
+     *  Set the variable parameter
+     *  \param parameter is a string containing the notebook variable
+     *         used for Hypothesis creation
+     *  \param method is a name of Hypothesis method setting this parameter
+     *
+     *  This method must be called before calling method()
+     */
+    void SetVarParameter (in string parameter, in string method);
+
+    /*!
+     *  Return the variable parameter used for Hypothesis creation by name of method
+     *  setting this parameter
+     */
+    string GetVarParameter (in string methodName);
+
     /*!
      *  Set list of parameters
      *  \param theParameters is a string containing the notebook variables separated by ":" symbol,