SHAPER
9.13.0
|
Validator for the field. More...
Public Member Functions | |
virtual bool | isValid (const FeaturePtr &theFeature, const std::list< std::string > &theArguments, Events_InfoMessage &theError) const |
returns true if there are no solver errors More... | |
virtual bool | isNotObligatory (std::string theFeature, std::string theAttribute) |
Returns true if the attribute in feature is not obligatory for the feature execution. More... | |
Validator for the field.
|
virtual |
returns true if there are no solver errors
theFeature | the checked feature |
theArguments | arguments of the feature (not used) |
theError | error message |
Implements ModelAPI_FeatureValidator.
|
virtualinherited |
Returns true if the attribute in feature is not obligatory for the feature execution.
Returns false by default.
Reimplemented in SketchPlugin_SolverErrorValidator, Model_FeatureValidator, GeomValidators_ZeroOffset, GeomValidators_NotSelfIntersected, GeomValidators_Different, FeaturesPlugin_ValidatorBooleanCommonArguments, FeaturesPlugin_ValidatorBooleanFuseArguments, and FeaturesPlugin_ValidatorBooleanArguments.