SHAPER  9.12.0
FeaturesPlugin_ValidatorRemoveSubShapesSelection Class Reference

Validates selection for "Remove Sub-Shapes" feature. More...

Inheritance diagram for FeaturesPlugin_ValidatorRemoveSubShapesSelection:
Inheritance graph

Public Member Functions

virtual bool isValid (const AttributePtr &theAttribute, const std::list< std::string > &theArguments, Events_InfoMessage &theError) const

Detailed Description

Validates selection for "Remove Sub-Shapes" feature.

Member Function Documentation

◆ isValid()

bool FeaturesPlugin_ValidatorRemoveSubShapesSelection::isValid ( const AttributePtr &  theAttribute,
const std::list< std::string > &  theArguments,
Events_InfoMessage theError 
) const
True if the attribute is valid. It checks whether the selection is acceptable for operation.
[in]theAttributean attribute to check.
[in]theArgumentsa filter parameters.
[out]theErrorerror message.

Implements ModelAPI_AttributeValidator.