Salome HOME
Issue #1834: Fix length of lines
[modules/shaper.git] / src / GeomValidators / GeomValidators_ZeroOffset.h
index 91c7dcad93e49b562fd3ea541db74ede2baf70b2..06348e14592087157a74534cdfa331f081d806f7 100644 (file)
@@ -21,14 +21,16 @@ 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.
    *  \return true if feature is valid.
    */
   GEOMVALIDATORS_EXPORT virtual bool isValid(const std::shared_ptr<ModelAPI_Feature>& theFeature,
                                              const std::list<std::string>& theArguments,
-                                             std::string& theError) const;
+                                             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);
+  GEOMVALIDATORS_EXPORT virtual 
+    bool isNotObligatory(std::string theFeature, std::string theAttribute);
 };
 
 #endif