+ /// 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.
+ 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,
+ Events_InfoMessage& theError) const;
+
+ /// Returns true if the attibute's object type satisfies the argument value
+ /// \param[in] theShape a checked shape
+ /// \param[in] theShapeType a shape type
+ /// \param[out] theError error message.
+ bool isValidShape(const GeomShapePtr theShape,
+ const TypeOfShape theShapeType,
+ Events_InfoMessage& theError) const;