X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FModelAPI%2FModelAPI_RefAttrValidator.h;h=087cff483c516d4c5a122e44c0182131b3d9ee0d;hb=074b1d850036614d4a08999c4bc4e8630db63d2b;hp=1f690ca47445e1597ca3584946a7fa14a6eda265;hpb=c441722ea3b03a2800fec9967980727db7d93251;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_RefAttrValidator.h b/src/ModelAPI/ModelAPI_RefAttrValidator.h index 1f690ca47..087cff483 100644 --- a/src/ModelAPI/ModelAPI_RefAttrValidator.h +++ b/src/ModelAPI/ModelAPI_RefAttrValidator.h @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: ModelAPI_RefAttrValidator.h // Created: 5 Aug 2014 // Author: Vitaly SMETANNIKOV @@ -10,20 +12,13 @@ #include #include -/* +/**\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& 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& theArguments, - const AttributePtr& theAttribute) const = 0; - }; #endif