Salome HOME
Merge branch 'master' of salome:modules/shaper
[modules/shaper.git] / src / GeomValidators / GeomValidators_BooleanArguments.h
index c7134745fbb4bcad25f5aec9779ea3c2c8792348..42a46d53a2d6ae91c20c59e2019431050106fd38 100644 (file)
@@ -21,10 +21,12 @@ public:
   /** \brief Returns true if feature and/or attributes are valid.
    *  \param[in] theFeature the validated feature.
    *  \param[in] theArguments the arguments in the configuration file for this validator.
+   *  \param[out] theError error message.
    *  \returns true if feature is valid.
    */
   GEOMVALIDATORS_EXPORT virtual bool isValid(const std::shared_ptr<ModelAPI_Feature>& theFeature,
-                                             const std::list<std::string>& theArguments) const;
+                                             const std::list<std::string>& theArguments,
+                                             Events_InfoMessage& theError) const;
 
   /// \return true if the attribute in feature is not obligatory for the feature execution.
   GEOMVALIDATORS_EXPORT virtual bool isNotObligatory(std::string theFeature, std::string theAttribute);