|
SHAPER
9.15.0
|
The geneneric validator for the attribute. More...

Public Member Functions | |
| virtual bool | isValid (const AttributePtr &theAttribute, const std::list< std::string > &theArguments, Events_InfoMessage &theError) const |
The geneneric validator for the attribute.
Can be redefined for some specific attributes, but by default for each attribute this validator is used: it checks the argument and if it contains invalid expression the attribute is invalid.
|
virtual |
| theAttribute | the checked attribute |
| theArguments | arguments of the attribute |
| theError | error message produced by validator to the user if it fails |
Implements ModelAPI_AttributeValidator.