Salome HOME
2.17. Improved management of overconstraint situation: Processing added arguments...
[modules/shaper.git] / src / GeomValidators / GeomValidators_ZeroOffset.h
index b0ce4eb67001e8aa55b790088a6282d3e4256f0f..64fd4ab63ee15a425a0cb5aaf432b782d697c51d 100644 (file)
@@ -21,12 +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.
-   *  \n First pair of arguments should be bounding planes id.
-   *  \n Second pair of arguments should be offsets id.
-   *  \returns true if feature is valid.
+   *  \param[out] theError error message.
+   *  \return 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,
+                                             std::string& 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);