SHAPER  9.12.0
GeomValidators_ConstructionComposite Class Reference

A validator of selection. More...

Inheritance diagram for GeomValidators_ConstructionComposite:
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

A validator of selection.

Member Function Documentation

◆ isValid()

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

returns true if attribute is valid

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

*ResultPtr aResult = std::dynamic_pointer_cast<ModelAPI_Result>(theSelectedObject);

Implements ModelAPI_AttributeValidator.