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_EXPORT 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 validate(const boost::shared_ptr<ModelAPI_Feature>& theFeature,
19 const std::string theAttr, std::list<std::string> theArguments) const = 0;