#include <SketchPlugin.h>
#include <ModelAPI_AttributeValidator.h>
-/**\class SketchPlugin_ResultPointValidator
+/**\class SketchPlugin_ExternalValidator
* \ingroup Validators
* \brief Validator for the points selection
*
/// 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,
+ std::string& theError) const;
protected:
/// returns true if the feature of the attribute is external