X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomValidators%2FGeomValidators_ShapeType.h;h=5d30779b107c5c88a3906bb53683fcc5e380ee82;hb=de596ab18a7a14ffd7d82ed9e35b1fa53dc3e756;hp=782d9eaeb3b4f61888d85fb37b3ed0b99be39478;hpb=314b1e87c30b9c4e2f8dfc7fc33ee2ca5f094b0d;p=modules%2Fshaper.git diff --git a/src/GeomValidators/GeomValidators_ShapeType.h b/src/GeomValidators/GeomValidators_ShapeType.h index 782d9eaeb..5d30779b1 100644 --- a/src/GeomValidators/GeomValidators_ShapeType.h +++ b/src/GeomValidators/GeomValidators_ShapeType.h @@ -34,6 +34,7 @@ class GeomValidators_ShapeType : public ModelAPI_AttributeValidator Face, Solid, Compound, + Plane, AnyShape }; @@ -43,7 +44,8 @@ class GeomValidators_ShapeType : public ModelAPI_AttributeValidator //! \param theAttribute the checked attribute //! \param theArguments arguments of the attribute GEOMVALIDATORS_EXPORT virtual bool isValid(const AttributePtr& theAttribute, - const std::list& theArguments) const; + const std::list& theArguments, + std::string& theError) const; protected: /// Convert string to TypeOfShape value /// \param theType a string value