X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_FeatureValidator.h;h=f051c1e0d4a27e23bf64baea4e3cf12f755a7b19;hb=497397f795254cb5adf0d727f5858d5aeb16eaf3;hp=9b529e9db9567d3e0e4ad423555fe6b5037a79d0;hpb=28636faf4eeaf4cf783c490f07b2efcf628cab1d;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_FeatureValidator.h b/src/ModelAPI/ModelAPI_FeatureValidator.h index 9b529e9db..f051c1e0d 100644 --- a/src/ModelAPI/ModelAPI_FeatureValidator.h +++ b/src/ModelAPI/ModelAPI_FeatureValidator.h @@ -29,9 +29,10 @@ class MODELAPI_EXPORT ModelAPI_FeatureValidator : public ModelAPI_Validator /// Returns true if feature and/or attributes are valid /// \param theFeature the validated feature /// \param theArguments list of string, feature attribute names: dependent attributes + /// \param theError the error string message if validation fails virtual bool isValid(const std::shared_ptr& theFeature, const std::list& theArguments, - std::string& theError = std::string()) const = 0; + std::string& theError) const = 0; /// Returns true if the attribute in feature is not obligatory for the feature execution virtual bool isNotObligatory(std::string theFeature, std::string theAttribute) = 0;