//! \param theAttribute the checked attribute
//! \param theArguments arguments of the attribute
virtual bool isValid(const AttributePtr& theAttribute,
- const std::list<std::string>& theArguments) const;
+ const std::list<std::string>& theArguments,
+ std::string& theError) const;
};
-
/**\class SketchPlugin_TangentAttrValidator
* \ingroup Validators
* \brief Validator for the tangent constraint input.
//! \param theAttribute the checked attribute
//! \param theArguments arguments of the attribute
virtual bool isValid(const AttributePtr& theAttribute,
- const std::list<std::string>& theArguments) const;
+ const std::list<std::string>& theArguments,
+ std::string& theError) const;
};
//! \param theAttribute the checked attribute
//! \param theArguments arguments of the attribute
virtual bool isValid(const AttributePtr& theAttribute,
- const std::list<std::string>& theArguments) const;
+ const std::list<std::string>& theArguments,
+ std::string& theError) const;
};
/**\class SketchPlugin_EqualAttrValidator
//! \param theAttribute the checked attribute
//! \param theArguments arguments of the attribute
virtual bool isValid(const AttributePtr& theAttribute,
- const std::list<std::string>& theArguments) const;
+ const std::list<std::string>& theArguments,
+ std::string& theError) const;
};
/**\class SketchPlugin_MirrorAttrValidator
//! \param theAttribute the checked attribute
//! \param theArguments arguments of the attribute (not used)
virtual bool isValid(const AttributePtr& theAttribute,
- const std::list<std::string>& theArguments) const;
+ const std::list<std::string>& theArguments,
+ std::string& theError) const;
};
//! \param theAttribute the checked attribute
//! \param theArguments arguments of the attribute (not used)
virtual bool isValid(const AttributePtr& theAttribute,
- const std::list<std::string>& theArguments) const;
+ const std::list<std::string>& theArguments,
+ std::string& theError) const;
};
//! \param theAttribute the checked attribute
//! \param theArguments arguments of the attribute (not used)
virtual bool isValid(const AttributePtr& theAttribute,
- const std::list<std::string>& theArguments) const;
+ const std::list<std::string>& theArguments,
+ std::string& theError) const;
};
#endif