|
SHAPER
9.15.0
|
Validates that attributes are not the same. More...

Public Member Functions | |
| virtual GEOMVALIDATORS_EXPORT bool | isValid (const std::shared_ptr< ModelAPI_Feature > &theFeature, const std::list< std::string > &theArguments, Events_InfoMessage &theError) const |
| Returns true if feature and/or attributes are valid. More... | |
| virtual GEOMVALIDATORS_EXPORT bool | isNotObligatory (std::string theFeature, std::string theAttribute) |
| Returns true if the attribute in feature is not obligatory for the feature execution. More... | |
Validates that attributes are not the same.
|
virtual |
Returns true if feature and/or attributes are valid.
| [in] | theFeature | the validated feature. |
| [in] | theArguments | the arguments in the configuration file for this validator. |
| [out] | theError | error message. |
Implements ModelAPI_FeatureValidator.
|
virtual |
Returns true if the attribute in feature is not obligatory for the feature execution.
Returns false by default.
Reimplemented from ModelAPI_FeatureValidator.