Salome HOME
Sources formated according to the codeing standards
[modules/shaper.git] / src / ModelAPI / ModelAPI_FeatureValidator.h
index 2023a66fc77a88ecd3a6166f17471d5e7209909e..7508c7ad3d30eaf9405f6375e5546e0378267c4c 100644 (file)
@@ -8,15 +8,14 @@
 #include "ModelAPI.h"
 #include "ModelAPI_Validator.h"
 
-class MODELAPI_EXPORT ModelAPI_FeatureValidator: public ModelAPI_Validator
+class ModelAPI_FeatureValidator : public ModelAPI_Validator
 {
-public:
+ public:
   /// Returns true if feature and/or attributes are valid
   /// \param theFeature the validated feature
   /// \param theAttr the validated attribute ID, empty string of feature is validated
   /// \param theArguments list of string, feature attribute names: dependent attributes
-  virtual bool validate(const boost::shared_ptr<ModelAPI_Feature>& theFeature,
-    const std::string theAttr, std::list<std::string> theArguments) const = 0;
+  virtual bool isValid(const boost::shared_ptr<ModelAPI_Feature>& theFeature) const = 0;
 };
 
 #endif