X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_ExternalValidator.h;h=f18f0746f52fe92faf20fb2b7637b755535f5658;hb=21a0c85b52bb93f94680e2342370764e6510e387;hp=62d95bfe04eefc4e6d7c8099132fab93f05a6f7d;hpb=139976bbdb4d10dbedc4ce966f7bef2843b83bcd;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_ExternalValidator.h b/src/SketchPlugin/SketchPlugin_ExternalValidator.h index 62d95bfe0..f18f0746f 100644 --- a/src/SketchPlugin/SketchPlugin_ExternalValidator.h +++ b/src/SketchPlugin/SketchPlugin_ExternalValidator.h @@ -10,7 +10,7 @@ #include #include -/**\class SketchPlugin_ResultPointValidator +/**\class SketchPlugin_ExternalValidator * \ingroup Validators * \brief Validator for the points selection * @@ -19,12 +19,15 @@ class SketchPlugin_ExternalValidator : public ModelAPI_AttributeValidator { public: - /// returns true if the feature of attribute do not contain external features in the given attribute and + /// returns true if the feature of attribute do not contain external features + /// in the given attribute and /// among attributes listed in the arguments /// \param theAttribute an attribute to check /// \param theArguments a filter parameters + /// \param theError error message SKETCHPLUGIN_EXPORT virtual bool isValid(const AttributePtr& theAttribute, - const std::list& theArguments) const; + const std::list& theArguments, + Events_InfoMessage& theError) const; protected: /// returns true if the feature of the attribute is external