Salome HOME
Remove duplicate code.
[modules/smesh.git] / idl / SMESH_Hypothesis.idl
index 4076e5c8af353bca37fd5549547bb95af62a844f..cf226ef9fcd4608564af2c5cda4ae3b2a422cd23 100644 (file)
@@ -39,8 +39,11 @@ module SMESH
     DIM_3D
   };
   
+  typedef sequence<string> ListOfParameters;
+
   interface SMESH_Hypothesis : SALOME::GenericObj
   {
+    
     /*!
      * Get the Hypothesis typeName 
      */
@@ -55,7 +58,24 @@ module SMESH
      * Get the internal Id 
      */
     long GetId();
-    
+
+    /*!
+     *  Set list of parameters
+     *  \param theParameters is a string containing the notebook variables separated by ":" symbol,
+     *         used for Hypothesis creation
+     */
+    void SetParameters (in string theParameters);
+
+    /*!
+     *  Return list of notebook variables used for Hypothesis creation separated by ":" symbol
+     */
+    string GetParameters();
+
+    /*!
+     *  Return list of last notebook variables used for Hypothesis creation.
+     */
+    ListOfParameters GetLastParameters();
+
     /*!
      * Verify whether hypothesis supports given entity type 
      */