X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_FiltersFeature.h;h=fce4225cb6ae586d9db738d009782f7ede10d2f9;hb=0fdfafcdf2500a8e7e895fca953d7ebfb9126f16;hp=b4790994376d8aa1c6a996b47a237c5ed6889a8a;hpb=4c74e5b864eef28128e27b3ece944990ca8f3fbe;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_FiltersFeature.h b/src/ModelAPI/ModelAPI_FiltersFeature.h index b47909943..fce4225cb 100644 --- a/src/ModelAPI/ModelAPI_FiltersFeature.h +++ b/src/ModelAPI/ModelAPI_FiltersFeature.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2019 CEA/DEN, EDF R&D +// Copyright (C) 2014-2023 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -33,7 +33,8 @@ class ModelAPI_FiltersFeature: public ModelAPI_Feature { public: /// Adds a filter to the feature. Also initializes arguments of this filter. - virtual void addFilter(const std::string theFilterID) = 0; + /// Returns the real identifier of the filter. + virtual std::string addFilter(const std::string theFilterID) = 0; /// Removes an existing filter from the feature. virtual void removeFilter(const std::string theFilterID) = 0;