]> SALOME platform Git repositories - modules/shaper.git/blob - src/ModelAPI/ModelAPI_FeatureValidator.h
Salome HOME
No automatic rebuild: only on preview. Update of visualization behavior due to the...
[modules/shaper.git] / src / ModelAPI / ModelAPI_FeatureValidator.h
1 // File:        ModelAPI_FeatureValidator.h
2 // Created:     8 Jul 2014
3 // Author:      Vitaly SMETANNIKOV
4
5 #ifndef ModelAPI_FeatureValidator_H
6 #define ModelAPI_FeatureValidator_H
7
8 #include "ModelAPI.h"
9 #include "ModelAPI_Validator.h"
10
11 class ModelAPI_FeatureValidator : public ModelAPI_Validator
12 {
13  public:
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;
20 };
21
22 #endif