Salome HOME
Issue #2071 Fatal error when Create box
[modules/shaper.git] / src / ModelAPI / ModelAPI_Validator.h
index 7fddb71ac6a366e4516074e2c19f1e6e871d1319..0557333ba75079b3ae9ae5b4570d627d13becda9 100644 (file)
@@ -103,7 +103,7 @@ class MODELAPI_EXPORT ModelAPI_ValidatorsFactory
 
   /// Register the case-attribute: this attribute is checked only if its case is selected
   virtual void registerCase(std::string theFeature, std::string theAttribute,
-    std::string theSwitchId, std::string theCaseId) = 0;
+    const std::list<std::pair<std::string, std::string> >& theCases) = 0;
 
  /// Returns true if the attribute must be checked (the case is selected)
   virtual bool isCase(FeaturePtr theFeature, std::string theAttribute) = 0;