From: vsv Date: Mon, 23 Dec 2019 11:55:03 +0000 (+0300) Subject: Transfer BreakLink from Object to Gen X-Git-Tag: V9_5_0a1^2^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Focc%2Fshaper2smesh;p=modules%2Fgeom.git Transfer BreakLink from Object to Gen --- diff --git a/idl/GEOM_Gen.idl b/idl/GEOM_Gen.idl index eac174954..1087faba2 100644 --- a/idl/GEOM_Gen.idl +++ b/idl/GEOM_Gen.idl @@ -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); }; }; diff --git a/src/GEOM_I/GEOM_Gen_i.hh b/src/GEOM_I/GEOM_Gen_i.hh index 6178a4847..b59041d10 100644 --- a/src/GEOM_I/GEOM_Gen_i.hh +++ b/src/GEOM_I/GEOM_Gen_i.hh @@ -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; diff --git a/src/GEOM_I/GEOM_Object_i.hh b/src/GEOM_I/GEOM_Object_i.hh index a3d61e205..cd314a564 100644 --- a/src/GEOM_I/GEOM_Object_i.hh +++ b/src/GEOM_I/GEOM_Object_i.hh @@ -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; }