SHAPER  9.12.0
ExchangePlugin_InHistoryValidator Class Reference

Check the selected result is in history (avoid Origin and coordinate axes and planes). More...

Inheritance diagram for ExchangePlugin_InHistoryValidator:
Inheritance graph

Public Member Functions

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

Detailed Description

Check the selected result is in history (avoid Origin and coordinate axes and planes).

Member Function Documentation

◆ isValid()

bool ExchangePlugin_InHistoryValidator::isValid ( const AttributePtr &  theAttribute,
const std::list< std::string > &  theArguments,
Events_InfoMessage theError 
) const
virtual
Returns
True if the attribute is valid. It checks whether the selected object is in history.
Parameters
[in]theAttributean attribute to check
[in]theArgumentsa filter parameters
[out]theErrorerror message.

Implements ModelAPI_AttributeValidator.