Salome HOME
Issue #2082 Sketch multiple rotation does not work as expected: debug information
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_ExternalValidator.h
index 62d95bfe04eefc4e6d7c8099132fab93f05a6f7d..f18f0746f52fe92faf20fb2b7637b755535f5658 100644 (file)
@@ -10,7 +10,7 @@
 #include <SketchPlugin.h>
 #include <ModelAPI_AttributeValidator.h>
 
-/**\class SketchPlugin_ResultPointValidator
+/**\class SketchPlugin_ExternalValidator
  * \ingroup Validators
  * \brief Validator for the points selection
  *
 class SketchPlugin_ExternalValidator : public ModelAPI_AttributeValidator
 {
 public:
-  /// returns true if the feature of attribute do not contain external features in the given attribute and
+  /// returns true if the feature of attribute do not contain external features
+  /// in the given attribute and
   /// among attributes listed in the arguments
   /// \param theAttribute an attribute to check
   /// \param theArguments a filter parameters
+  /// \param theError error message
   SKETCHPLUGIN_EXPORT virtual bool isValid(const AttributePtr& theAttribute,
-                                           const std::list<std::string>& theArguments) const;
+                                           const std::list<std::string>& theArguments,
+                                           Events_InfoMessage& theError) const;
 
 protected:
   /// returns true if the feature of the attribute is external