+ GEOMVALIDATORS_EXPORT static TypeOfShape shapeType(const std::string& theType);
+
+protected:
+ /// Returns true if the attibute's object type satisfies the argument value
+ /// \param[in] theAttribute a checked attribute
+ /// \param[in] theShapeType a type of shape
+ /// \param[out] theError error message.
+ GEOMVALIDATORS_EXPORT
+ bool isValidAttribute(const AttributePtr& theAttribute,
+ const TypeOfShape theShapeType,
+ Events_InfoMessage& theError) const;
+
+ /// Returns true if the attibute's object type satisfies the argument value
+ /// \param[in] theObject a checked object
+ /// \param[in] theShapeType a shape type
+ /// \param[out] theError error message.
+ bool isValidObject(const ObjectPtr& theObject,
+ const TypeOfShape theShapeType,
+ const bool theIsGeometricalSelection,
+ Events_InfoMessage& theError) const;