Salome HOME
#1721 Selecting arcs in mirror constraint is too long and removes other edges
[modules/shaper.git] / src / ParametersPlugin / ParametersPlugin_Validators.h
index cc1812abc711f87bad0424fdef8590ea2b8d5ce0..50b0e937d1afacd8fea0e1142563a6dce5eab436 100644 (file)
@@ -34,11 +34,9 @@ class ParametersPlugin_VariableValidator : public ModelAPI_AttributeValidator
    */
   PARAMETERSPLUGIN_EXPORT virtual bool isValid(const AttributePtr& theAttribute,
                                                const std::list<std::string>& theArguments,
-                                               std::string& theError) const;
+                                               Events_InfoMessage& theError) const;
 
  protected:
-  /// Returns true if theString is a valid variable name.
-  PARAMETERSPLUGIN_EXPORT bool isVariable(const std::string& theString) const;
   /// Returns true if theString is unique parameter name in the document of theAttribute.
   PARAMETERSPLUGIN_EXPORT bool isUnique(const AttributePtr& theAttribute,
                                         const std::string& theString) const;
@@ -63,7 +61,7 @@ class ParametersPlugin_ExpressionValidator: public ModelAPI_AttributeValidator
    */
   PARAMETERSPLUGIN_EXPORT virtual bool isValid(const AttributePtr& theAttribute,
                                                const std::list<std::string>& theArguments,
-                                               std::string& theError) const;
+                                               Events_InfoMessage& theError) const;
 };