Salome HOME
updated copyright message
[modules/shaper.git] / src / ModelAPI / ModelAPI_Filter.h
index 4adeec43261d103ce4a0d486916ed2b1781f6145..cfd0dc6c6544f256a3392909101eabd8137c8d92 100644 (file)
@@ -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
@@ -50,13 +50,16 @@ public:
                     const ResultPtr& theResult,
                     const ModelAPI_FiltersArgs& theArgs) const = 0;
 
+  /// Returns True if the filter can be used several times within one filtering
+  virtual bool isMultiple() const { return false; }
+
   /// Returns XML string which represents GUI of the filter
   /// By default it returns nothing (no GUI)
   virtual std::string xmlRepresentation() const { return ""; }
 
   /// Initializes arguments of a filter. If a filter has no arguments, this method may be
   /// not redefined.
-  virtual void initAttributes(ModelAPI_FiltersArgs& theArguments) {}
+  virtual void initAttributes(ModelAPI_FiltersArgs& /*theArguments*/) {}
 
   /// Returns XML string which represents GUI of the filter
   /// by reading corresponding XML file.