SHAPER  9.12.0
FeaturesPlugin_ValidatorImportResults Class Reference

A validator for selection of objects that may be imported: from another part, result bodies. More...

Inheritance diagram for FeaturesPlugin_ValidatorImportResults:
Inheritance graph

Public Member Functions

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

Detailed Description

A validator for selection of objects that may be imported: from another part, result bodies.

Member Function Documentation

◆ isValid()

bool FeaturesPlugin_ValidatorImportResults::isValid ( const AttributePtr &  theAttribute,
const std::list< std::string > &  theArguments,
Events_InfoMessage theError 
) const
virtual
Returns
True if selection is valid.
Parameters
[in]theAttributethe checked attribute.
[in]theArgumentsarguments of the attribute.
[out]theErrorerror message.

Implements ModelAPI_AttributeValidator.