]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Model/Model_FeatureValidator.h
Salome HOME
Task #267: initial implementation of errors management
[modules/shaper.git] / src / Model / Model_FeatureValidator.h
index b262ff0ea552b0fee6cbb9d1ba2fc063fdbf4af5..dddfb2a318714dd1956b894045956cc707c1259b 100644 (file)
@@ -24,7 +24,10 @@ class Model_FeatureValidator : public ModelAPI_FeatureValidator
     const std::list<std::string>& theArguments) const;
 
   // sets not obligatory attributes, not checked for initialization
-  void registerNotObligatory(std::string theFeature, std::string theAttribute);
+  virtual void registerNotObligatory(std::string theFeature, std::string theAttribute);
+
+  /// Returns true if the attribute in feature is not obligatory for the feature execution
+  virtual bool isNotObligatory(std::string theFeature, std::string theAttribute);
 };
 
 #endif