X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_AttributeValidator.h;h=142c91c233689bb32a729ca6e232263c3b8b2a9f;hb=8476d5e088f7b1b5a414fa5e33ce99d6131929eb;hp=151c793c21ee3445fdaf36b9eaf5873f6f3ebd3e;hpb=03dd198543d20b3ca0e4eb865f857a0db68e57b7;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_AttributeValidator.h b/src/ModelAPI/ModelAPI_AttributeValidator.h index 151c793c2..142c91c23 100644 --- a/src/ModelAPI/ModelAPI_AttributeValidator.h +++ b/src/ModelAPI/ModelAPI_AttributeValidator.h @@ -17,11 +17,13 @@ class ModelAPI_AttributeValidator : public ModelAPI_Validator { public: - //! returns true if attribute is valid + //! \returns true if attribute is valid //! \param theAttribute the checked attribute //! \param theArguments arguments of the attribute + //! \param theError the error string message if validation fails virtual bool isValid(const AttributePtr& theAttribute, - const std::list& theArguments) const = 0; + const std::list& theArguments, + std::string& theError) const = 0; MODELAPI_EXPORT ~ModelAPI_AttributeValidator(); };