SHAPER  9.12.0
SketchPlugin_CopyValidator Class Reference

Validator for the constraints which create features. More...

Inheritance diagram for SketchPlugin_CopyValidator:
Inheritance graph

Public Member Functions

virtual bool isValid (const AttributePtr &theAttribute, const std::list< std::string > &theArguments, Events_InfoMessage &theError) const
 returns true if attribute is valid More...
 

Detailed Description

Validator for the constraints which create features.

Applicable only for features, which creates another features. It verifies the produced features of current constraint don't become into the list of initial features

Member Function Documentation

◆ isValid()

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

returns true if attribute is valid

Parameters
theAttributethe checked attribute
theArgumentsarguments of the attribute (not used)
theErrorerror message

Implements ModelAPI_AttributeValidator.