]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/FeaturesPlugin/FeaturesPlugin_Validators.h
Salome HOME
added new GlueFaces feature
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_Validators.h
index 4814dc2df2ff51df6f5282d4e1c85b8c23919f0c..59ac87fede464b79ecdfb60ca280f93be6c15de7 100644 (file)
@@ -482,4 +482,20 @@ public:
                        Events_InfoMessage& theError) const;
 };
 
+/// \class FeaturesPlugin_ValidatorGlueFacesSelection
+/// \ingroup Validators
+/// \brief Validates selection for glue faces operation.
+class FeaturesPlugin_ValidatorGlueFacesSelection : public ModelAPI_AttributeValidator
+{
+public:
+  /// \return True if the attribute is valid. It checks whether the selection
+  /// is acceptable for glue faces operation.
+  /// \param[in] theAttribute an attribute to check.
+  /// \param[in] theArguments a filter parameters.
+  /// \param[out] theError error message.
+  virtual bool isValid(const AttributePtr& theAttribute,
+                       const std::list<std::string>& theArguments,
+                       Events_InfoMessage& theError) const;
+};
+
 #endif