SHAPER  9.15.0
BuildPlugin_ValidatorBaseForBuild Class Reference

A validator for selection base shapes for build features. More...

Inheritance diagram for BuildPlugin_ValidatorBaseForBuild:
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 ok. More...
 

Detailed Description

A validator for selection base shapes for build features.

Allows to select shapes on sketch and whole objects with allowed type.

Member Function Documentation

◆ isValid()

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

Returns true if attribute is ok.

Parameters
[in]theAttributethe checked attribute.
[in]theArgumentsarguments of the attribute.
[out]theErrorerror message.

Implements ModelAPI_AttributeValidator.