#define ModelAPI_Validator_H_
#include <ModelAPI.h>
+#include <ModelAPI_Feature.h>
#include <memory>
#include <list>
/// Returns true that it was registered that attribute conceals the referenced result
virtual bool isConcealed(std::string theFeature, std::string theAttribute) = 0;
+ /// 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;
+
+ /// Returns true if the attribute must be checked (the case is selected)
+ virtual bool isCase(FeaturePtr theFeature, std::string theAttribute) = 0;
+
protected:
/// Get instance from Session
ModelAPI_ValidatorsFactory()