SHAPER  9.12.0
GeomValidators_GreaterOrEqual Class Reference

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

Inheritance diagram for GeomValidators_GreaterOrEqual:
Inheritance graph

Public Member Functions

 GeomValidators_GreaterOrEqual ()
 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 greater or equal to another attribute values.

Constructor & Destructor Documentation

◆ GeomValidators_GreaterOrEqual()

GeomValidators_GreaterOrEqual::GeomValidators_GreaterOrEqual ( )

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

Member Function Documentation

◆ isValid()

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