X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FGeomValidators%2FGeomValidators_Face.h;h=c3b802658753e6f1a0a1db2c34da281f2ef0e9a0;hb=0213528bdfe5b97da3a23e34361d69944b825ffb;hp=2ff49551c6b9c1a8e4e1aa319f1dc8e3c99b6d1d;hpb=9b6fa5ea0662642f58e278af3798f4dc9ddd0acf;p=modules%2Fshaper.git diff --git a/src/GeomValidators/GeomValidators_Face.h b/src/GeomValidators/GeomValidators_Face.h index 2ff49551c..c3b802658 100644 --- a/src/GeomValidators/GeomValidators_Face.h +++ b/src/GeomValidators/GeomValidators_Face.h @@ -10,8 +10,6 @@ #include "GeomValidators.h" #include "ModelAPI_AttributeValidator.h" -#include - /** * \ingroup Validators * A validator of selection @@ -21,14 +19,12 @@ class GeomValidators_Face : public ModelAPI_AttributeValidator public: GEOMVALIDATORS_EXPORT GeomValidators_Face() {} //! returns true if attribute is valid - //! \param theAttribute the checked attribute - //! \param theArguments arguments of the attribute + //! \param[in] theAttribute the checked attribute + //! \param[in] theArguments arguments of the attribute + //! \param[out] theError error message. GEOMVALIDATORS_EXPORT virtual bool isValid(const AttributePtr& theAttribute, - const std::list& theArguments) const; -protected: - /// Convert string to TypeOfFace value - /// \param theType a string value - GEOMVALIDATORS_EXPORT static GeomAbs_SurfaceType faceType(const std::string& theType); + const std::list& theArguments, + Events_InfoMessage& theError) const; }; #endif