- /// Returns true if feature and all its attributes are valid.
- MODULEBASE_EXPORT virtual bool validate(const std::shared_ptr<ModelAPI_Feature>& theFeature) const;
-
- /// register that this attribute in feature is not obligatory for the feature execution
- /// 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);
-
- /// Returns true that it was registered that attribute conceals the referenced result
- virtual bool isConcealed(std::string theFeature, std::string theAttribute);
+ /// Returns registered filter by its Id
+ MODULEBASE_EXPORT virtual const ModuleBase_Filter* filter(const std::string& theID) const;