Salome HOME
Remove duplicate code.
[modules/smesh.git] / idl / SMESH_Hypothesis.idl
index 69832b9ed37f854750ebba69bb4c9084b9e8c660..cf226ef9fcd4608564af2c5cda4ae3b2a422cd23 100644 (file)
@@ -15,7 +15,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
@@ -33,13 +33,17 @@ module SMESH
 {
   enum Dimension
   {
+    DIM_0D,
     DIM_1D,
     DIM_2D,
     DIM_3D
   };
   
+  typedef sequence<string> ListOfParameters;
+
   interface SMESH_Hypothesis : SALOME::GenericObj
   {
+    
     /*!
      * Get the Hypothesis typeName 
      */
@@ -54,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 
      */
@@ -72,6 +93,13 @@ module SMESH
 
   };
 
+  interface SMESH_0D_Algo : SMESH_Algo
+  {
+    /*!
+     * 
+     */
+  };
+
   interface SMESH_1D_Algo : SMESH_Algo
   {
     /*!