SHAPER  9.12.0
GeomValidators_LessOrEqual Class Reference

Validates that the integer/double attribute is less or equal to another attribute values. More...

Inheritance diagram for GeomValidators_LessOrEqual:
Inheritance graph

Public Member Functions

 GeomValidators_LessOrEqual ()
 Constructor for only one instance per application: will register the validator. More...
 
virtual GEOMVALIDATORS_EXPORT bool isValid (const AttributePtr &theAttribute, const std::list< std::string > &theArguments, Events_InfoMessage &theError) const
 returns true if attribute is valid More...
 

Detailed Description

Validates that the integer/double attribute is less or equal to another attribute values.

Constructor & Destructor Documentation

◆ GeomValidators_LessOrEqual()

GeomValidators_LessOrEqual::GeomValidators_LessOrEqual ( )

Constructor for only one instance per application: will register the validator.

Member Function Documentation

◆ isValid()

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

returns true if attribute is valid

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

Implements ModelAPI_AttributeValidator.