Salome HOME
Issue #412: Crash on delete sketch line with constraints
[modules/shaper.git] / src / ModelAPI / ModelAPI_RefAttrValidator.h
index 1f690ca47445e1597ca3584946a7fa14a6eda265..087cff483c516d4c5a122e44c0182131b3d9ee0d 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 // File:        ModelAPI_RefAttrValidator.h
 // Created:     5 Aug 2014
 // Author:      Vitaly SMETANNIKOV
 #include <ModelAPI_Attribute.h>
 #include <ModelAPI_AttributeValidator.h>
 
-/*
+/**\class ModelAPI_RefAttrValidator
+ * \ingroup DataModel
  * Used for filtering out the object that can be used for reference attribute value
  */
 class ModelAPI_RefAttrValidator : public ModelAPI_AttributeValidator
 {
 public:
-  //! Returns true if object is good for the feature attribute
-  virtual bool isValid(const FeaturePtr& theFeature, const std::list<std::string>& theArguments,
-                       const ObjectPtr& theObject) const = 0;
-
-  //! Returns true if the attribute is good for the feature attribute
-  virtual bool isValid(const FeaturePtr& theFeature, const std::list<std::string>& theArguments,
-                       const AttributePtr& theAttribute) const = 0;
-
 };
 
 #endif