]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Model/Model_Validator.h
Salome HOME
Task #267: initial implementation of errors management
[modules/shaper.git] / src / Model / Model_Validator.h
index a6d36996360610ee46f5b983752d6eda01ce79f2..a739a79781b45193302f35ccad389ab2cdcc585f 100644 (file)
@@ -76,6 +76,9 @@ class Model_ValidatorsFactory : public ModelAPI_ValidatorsFactory
   /// so, it is not needed for the standard validation mechanism
   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);
+
   /// register that this attribute conceals in the object browser
   /// all referenced features after execution
   virtual void registerConcealment(std::string theFeature, std::string theAttribute);