]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/GeomValidators/GeomValidators_ShapeType.h
Salome HOME
Error management -- Attribute validator returns an error.
[modules/shaper.git] / src / GeomValidators / GeomValidators_ShapeType.h
index 782d9eaeb3b4f61888d85fb37b3ed0b99be39478..daefb1e22b98a4fde54075f1364de9b34c602e8d 100644 (file)
@@ -43,7 +43,8 @@ class GeomValidators_ShapeType : public ModelAPI_AttributeValidator
   //! \param theAttribute the checked attribute
   //! \param theArguments arguments of the attribute
   GEOMVALIDATORS_EXPORT virtual bool isValid(const AttributePtr& theAttribute,
-                                             const std::list<std::string>& theArguments) const;
+                                             const std::list<std::string>& theArguments,
+                                             std::string& theError) const;
 protected:
   /// Convert string to TypeOfShape value
   /// \param theType a string value