1 // File: ModelAPI_FeatureValidator.h
3 // Author: Vitaly SMETANNIKOV
5 #ifndef ModelAPI_FeatureValidator_H
6 #define ModelAPI_FeatureValidator_H
9 #include "ModelAPI_Validator.h"
11 class ModelAPI_FeatureValidator : public ModelAPI_Validator
14 /// Returns true if feature and/or attributes are valid
15 /// \param theFeature the validated feature
16 /// \param theAttr the validated attribute ID, empty string of feature is validated
17 /// \param theArguments list of string, feature attribute names: dependent attributes
18 virtual bool isValid(const boost::shared_ptr<ModelAPI_Feature>& theFeature,
19 const std::list<std::string>& theArguments) const = 0;