X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_ExternalValidator.h;h=f18f0746f52fe92faf20fb2b7637b755535f5658;hb=b5893b0a30fac08134c24de4565cb513a43affa6;hp=c2773d23a4e9ac4138c3d996649431e2d5ad8deb;hpb=4ca3fd41634c37f840d0cbb3f896fa97c2d3c457;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_ExternalValidator.h b/src/SketchPlugin/SketchPlugin_ExternalValidator.h index c2773d23a..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,13 +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, - std::string& theError) const; + Events_InfoMessage& theError) const; protected: /// returns true if the feature of the attribute is external