Salome HOME
Define isMultiple method in selection filters
[modules/shaper.git] / src / ModelAPI / ModelAPI_Filter.h
index 4adeec43261d103ce4a0d486916ed2b1781f6145..25439241168ad6812b360049ead822246174d3cf 100644 (file)
@@ -50,6 +50,9 @@ 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 ""; }