X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=inline;f=src%2FModelHighAPI%2FModelHighAPI_Services.h;h=85d9fb704e5e7a75ac0e65c015ccb374023f5563;hb=fac255fcec3913e743169b3c207f28ca1303a0ff;hp=4e719429dc984aa4c72ce4c5153062d709a089d1;hpb=d34842c50d5f335cca443c78910c16c54139c7d0;p=modules%2Fshaper.git diff --git a/src/ModelHighAPI/ModelHighAPI_Services.h b/src/ModelHighAPI/ModelHighAPI_Services.h index 4e719429d..85d9fb704 100644 --- a/src/ModelHighAPI/ModelHighAPI_Services.h +++ b/src/ModelHighAPI/ModelHighAPI_Services.h @@ -1,8 +1,22 @@ -// Name : ModelHighAPI_Services.h -// Purpose: +// Copyright (C) 2014-2017 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 // -// History: -// 17/06/16 - Sergey POKHODENKO - Creation of the file #ifndef SRC_MODELHIGHAPI_MODELHIGHAPI_SERVICES_H_ #define SRC_MODELHIGHAPI_MODELHIGHAPI_SERVICES_H_ @@ -74,6 +88,14 @@ void end(); MODELHIGHAPI_EXPORT void apply(); +/** Executes features, created or updated before. + * + * This method flushes creation and update events in order to make all + * features up to date. + */ +MODELHIGHAPI_EXPORT +void updateFeatures(); + /// Roll-back the data structure to the previous control point. MODELHIGHAPI_EXPORT void undo();