SHAPER  9.12.0
GeomValidators_Finite Class Reference

A validator for finite objects. More...

Inheritance diagram for GeomValidators_Finite:
Inheritance graph

Public Member Functions

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

A validator for finite objects.

It returns false for construction infinite results.

Member Function Documentation

◆ isValid()

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

Implements ModelAPI_AttributeValidator.