SHAPER  9.12.0
BuildPlugin_ValidatorSubShapesSelection Class Reference

A validator for selection sub-shapes for SubShape feature. More...

Inheritance diagram for BuildPlugin_ValidatorSubShapesSelection:
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 sub-shapes for SubShape feature.

Member Function Documentation

◆ isValid()

bool BuildPlugin_ValidatorSubShapesSelection::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.