X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchSolver%2FSolveSpaceSolver%2FSolveSpaceSolver_ParameterWrapper.h;h=c717d275c1ba6a83dd8ab5007118caa55b356ccf;hb=b857d9ea753bef79dbbadaeb990b54aae56e488d;hp=eb92245a1362ff6194c75c4622823434d7dc319f;hpb=37c59d59b17e4a7e304588fb647488457a0c7283;p=modules%2Fshaper.git diff --git a/src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_ParameterWrapper.h b/src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_ParameterWrapper.h index eb92245a1..c717d275c 100644 --- a/src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_ParameterWrapper.h +++ b/src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_ParameterWrapper.h @@ -1,15 +1,27 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D - -// File: SolveSpaceSolver_ParameterWrapper.h -// Created: 2 Dec 2015 -// 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 SolveSpaceSolver_ParameterWrapper_H_ #define SolveSpaceSolver_ParameterWrapper_H_ #include - -#include +#include /** * Wrapper providing operations with parameters in SolveSpace. @@ -34,7 +46,7 @@ public: { myParameter.group = (Slvs_hGroup)theGroup; } /// \brief Return identifier of the group the parameter belongs to - virtual const GroupID& group() const + virtual GroupID group() const { return (GroupID)myParameter.group; } /// \brief Change value of parameter