Salome HOME
Transfer BreakLink from Object to Gen occ/shaper2smesh
authorvsv <vsv@opencascade.com>
Mon, 23 Dec 2019 11:55:03 +0000 (14:55 +0300)
committervsv <vsv@opencascade.com>
Mon, 23 Dec 2019 11:55:03 +0000 (14:55 +0300)
idl/GEOM_Gen.idl
src/GEOM_I/GEOM_Gen_i.hh
src/GEOM_I/GEOM_Object_i.hh

index eac174954952ede3ddac774c1b7af85c9bc109ed..1087faba274e10b1662e0cfffd0e6f1101596270 100644 (file)
@@ -515,11 +515,6 @@ module GEOM
      */
     boolean IsParametrical();
 
-    /*
-     * \brief Breaks links to parametrical mode for parametrical shape
-    */
-    void BreakLinks();
-
   };
 
   //# GEOM_Field
@@ -5154,6 +5149,11 @@ module GEOM
                                                 inout string_array theSubEntries,
                                                 inout string_array theOtherEntries);
 
+
+    /*
+    * \brief Breaks links to parametrical mode for parametrical shape
+    */
+    void BreakLink(in string theEntry);
   };
 };
 
index 6178a4847da06f9d994fee96a325c866e036b65e..b59041d1084a37419ed00f561d1e040fd2755d20 100644 (file)
@@ -385,6 +385,9 @@ class GEOM_I_EXPORT GEOM_Gen_i: virtual public POA_GEOM::GEOM_Gen, virtual publi
 
   void LoadPlugin(const std::string& theLibName);
 
+
+  virtual void BreakLink(const char*) {}
+
  private:
 
    ::GEOMImpl_Gen* _impl;
index a3d61e2058b2fad56a811c2dae10b9a36c7f1cbb..cd314a5641a507b678aab92b31e4c85336a373cd 100644 (file)
@@ -83,8 +83,6 @@ class GEOM_I_EXPORT GEOM_Object_i : public virtual POA_GEOM::GEOM_Object, public
 
   virtual bool IsParametrical() { return false; }
 
-  virtual void BreakLinks() {}
-
 
   Handle(::GEOM_Object) GetImpl() { return _impl; }