SHAPER  9.12.0
GeomValidators_BodyShapes Class Reference

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

Inheritance diagram for GeomValidators_BodyShapes:
Inheritance graph

Public Member Functions

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

Detailed Description

Generic validator for any attribute of a feature.

Member Function Documentation

◆ isValid()

bool GeomValidators_BodyShapes::isValid ( const AttributePtr &  theAttribute,
const std::list< std::string > &  theArguments,
Events_InfoMessage theError 
) const
True if the attribute is valid. It checks whether the shape is a body subshape. Does not allow select construction shapes.
[in]theAttributean attribute to check
[in]theArgumentsa filter parameters
[out]theErrorerror message.

Implements ModelAPI_AttributeValidator.