X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_FeatureValidator.h;h=010ad505c6cf9667df9088be8b8d77042856b527;hb=77b93142eb8ba33bfb9a42040c2fd8926ffea5c8;hp=e412301fec5dfbad8cda15b775f6c0f397eb7632;hpb=5c861257d29de904a1418488b65e6100cd078433;p=modules%2Fshaper.git diff --git a/src/Model/Model_FeatureValidator.h b/src/Model/Model_FeatureValidator.h index e412301fe..010ad505c 100644 --- a/src/Model/Model_FeatureValidator.h +++ b/src/Model/Model_FeatureValidator.h @@ -31,9 +31,11 @@ public: /// Returns true if feature and/or attributes are valid /// \param theFeature the validated feature /// \param theArguments the arguments in the configuration file for this validator + /// \param theError erros message produced by validator to the user if it fails /// \returns true if feature is valid MODEL_EXPORT virtual bool isValid(const std::shared_ptr& theFeature, - const std::list& theArguments) const; + const std::list& theArguments, + std::string& theError) const; /// sets not obligatory attributes, not checked for initialization virtual void registerNotObligatory(std::string theFeature, std::string theAttribute);