]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelAPI/ModelAPI_FeatureValidator.h
Salome HOME
Task #267: initial implementation of errors management
[modules/shaper.git] / src / ModelAPI / ModelAPI_FeatureValidator.h
index 6d44a735a14f1dceb09c2223c76079a1f642322c..b29fda7995e3f241009a53e4c5b8f46f9ff55dea 100644 (file)
@@ -17,6 +17,9 @@ class ModelAPI_FeatureValidator : public ModelAPI_Validator
   /// \param theArguments list of string, feature attribute names: dependent attributes
   virtual bool isValid(const std::shared_ptr<ModelAPI_Feature>& theFeature,
     const std::list<std::string>& theArguments) const = 0;
+
+  /// Returns true if the attribute in feature is not obligatory for the feature execution
+  virtual bool isNotObligatory(std::string theFeature, std::string theAttribute) = 0;
 };
 
 #endif