Salome HOME
Debug : use plane for symmetry.
[modules/shaper.git] / src / Model / Model_FeatureValidator.h
index c35acc8e10fdd5fb5d6cad160be8ca494b578307..47c091937927bfe3dbc9e51ff6dcd55ded887a23 100644 (file)
@@ -31,10 +31,11 @@ public:
   /// Returns true if feature and/or attributes are valid
   /// \param theFeature the validated feature
   /// \param theArguments the arguments in the configuration file for this validator
+  /// \param theError erros message produced by validator to the user if it fails
   /// \returns true if feature is valid
   MODEL_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;
 
   /// sets not obligatory attributes, not checked for initialization
   virtual void registerNotObligatory(std::string theFeature, std::string theAttribute);