20 #ifndef ModelAPI_FeatureValidator_H
21 #define ModelAPI_FeatureValidator_H
24 #include "ModelAPI_Validator.h"
46 virtual bool isValid(
const std::shared_ptr<ModelAPI_Feature>& theFeature,
47 const std::list<std::string>& theArguments,
52 virtual bool isNotObligatory(std::string theFeature, std::string theAttribute);
An event message for sending a string message which has to be translated.
Definition: Events_InfoMessage.h:35
The geneneric validator for the whole feature.
Definition: ModelAPI_FeatureValidator.h:35
virtual bool isValid(const std::shared_ptr< ModelAPI_Feature > &theFeature, const std::list< std::string > &theArguments, Events_InfoMessage &theError) const =0
Returns true if feature and/or attributes are valid.
Allows to validate the attribute value of a feature or the whole feature.
Definition: ModelAPI_Validator.h:43