SHAPER  9.12.0
ParametersPlugin_ExpressionValidator Class Reference

Validator for the expression of parameter. More...

Inheritance diagram for ParametersPlugin_ExpressionValidator:
Inheritance graph

Public Member Functions

virtual PARAMETERSPLUGIN_EXPORT bool isValid (const AttributePtr &theAttribute, const std::list< std::string > &theArguments, Events_InfoMessage &theError) const
 Returns true if attribute has a valid parameter expression. More...
 

Detailed Description

Validator for the expression of parameter.

Member Function Documentation

◆ isValid()

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

Returns true if attribute has a valid parameter expression.

Parameters
theAttributethe checked attribute
theArgumentsarguments of the attribute
theErrorthe error string message if validation fails

Implements ModelAPI_AttributeValidator.