SHAPER  9.12.0
GeomValidators_DifferentShapes Class Reference

Generic validator for any attribute of a feature. More...

Inheritance diagram for GeomValidators_DifferentShapes:
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 the attribute is valid. More...
 

Detailed Description

Generic validator for any attribute of a feature.

Member Function Documentation

◆ isValid()

bool GeomValidators_DifferentShapes::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 feature of the attribute does not contain a selection attribute filled with the same shape

Parameters
[in]theAttributean attribute to check
[in]theArgumentsa filter parameters
[out]theErrorerror message.

Implements ModelAPI_AttributeValidator.