X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchSolver%2FPlaneGCSSolver%2FPlaneGCSSolver_AttributeBuilder.h;h=10aa3f3c445d0eb64d366cf2c6e05cdb721aef28;hb=87447545000c44e455431ed0d401f850f373374e;hp=4c8e44ed6dc6b2eccfe6564889a7178bbe34d27c;hpb=06c0edf62e2731aa86b4ea0fac9f99a6b685f2ac;p=modules%2Fshaper.git diff --git a/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_AttributeBuilder.h b/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_AttributeBuilder.h index 4c8e44ed6..10aa3f3c4 100644 --- a/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_AttributeBuilder.h +++ b/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_AttributeBuilder.h @@ -1,8 +1,21 @@ -// Copyright (C) 2017-20xx CEA/DEN, EDF R&D - -// File: PlaneGCSSolver_AttributeBuilder.h -// Created: 10 Feb 2017 -// Author: Artem ZHIDKOV +// Copyright (C) 2014-2020 CEA/DEN, EDF R&D +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// 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.salome-platform.org/ or email : webmaster.salome@opencascade.com +// #ifndef PlaneGCSSolver_AttributeBuilder_H_ #define PlaneGCSSolver_AttributeBuilder_H_ @@ -25,12 +38,13 @@ public: /// \return Created wrapper of the attribute applicable for specific solver virtual EntityWrapperPtr createAttribute(AttributePtr theAttribute); + /// \brief Update entity by the attribute values. + /// \return \c true if any value is updated. + virtual bool updateAttribute(AttributePtr theAttribute, EntityWrapperPtr theEntity); + /// \brief Blank. To be defined in derived class. virtual EntityWrapperPtr createFeature(FeaturePtr) { return EntityWrapperPtr(); } - - /// \brief Blank. To be defined in derived class. - virtual const std::list& constraints() const; }; #endif