Salome HOME
Fix for #767: correct the internal history structure for nested features
[modules/shaper.git] / src / ModelAPI / ModelAPI_AttributeValidator.h
index 151c793c21ee3445fdaf36b9eaf5873f6f3ebd3e..1cf46a54cde7b10ccb2e8feb1586ee165d223138 100644 (file)
@@ -21,7 +21,8 @@ public:
   //! \param theAttribute the checked attribute
   //! \param theArguments arguments of the attribute
   virtual bool isValid(const AttributePtr& theAttribute,
-                       const std::list<std::string>& theArguments) const = 0;
+                       const std::list<std::string>& theArguments,
+                       std::string& theError) const = 0;
 
   MODELAPI_EXPORT ~ModelAPI_AttributeValidator();
 };