X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_AttributeValidator.h;h=142c91c233689bb32a729ca6e232263c3b8b2a9f;hb=f5c7bb3100ed321392da42f61c2ab505833ec61a;hp=9ec8cb9349969f3c7b2d2c93b637994378c0e27a;hpb=4ca3fd41634c37f840d0cbb3f896fa97c2d3c457;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_AttributeValidator.h b/src/ModelAPI/ModelAPI_AttributeValidator.h index 9ec8cb934..142c91c23 100644 --- a/src/ModelAPI/ModelAPI_AttributeValidator.h +++ b/src/ModelAPI/ModelAPI_AttributeValidator.h @@ -17,12 +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, - std::string& theError = std::string()) const = 0; + std::string& theError) const = 0; MODELAPI_EXPORT ~ModelAPI_AttributeValidator(); };