20 #ifndef GeomValidators_DifferentShapes_H
21 #define GeomValidators_DifferentShapes_H
23 #include <GeomValidators.h>
25 #include <ModelAPI_AttributeValidator.h>
26 #include <ModelAPI_Attribute.h>
39 GEOMVALIDATORS_EXPORT
virtual bool isValid(
const AttributePtr& theAttribute,
40 const std::list<std::string>& theArguments,
45 static bool checkEquals(std::list<AttributePtr>& theAttributes);
47 static bool checkEqualToCurrent(std::list<AttributePtr>& theAttributes,
48 const AttributePtr& theCurrentAttribute);
50 static bool isAttrShapesEqual(
const AttributePtr& theAttribute,
51 const AttributePtr& theOtherAttribute);
An event message for sending a string message which has to be translated.
Definition: Events_InfoMessage.h:35
Generic validator for any attribute of a feature.
Definition: GeomValidators_DifferentShapes.h:32
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.
Definition: GeomValidators_DifferentShapes.cpp:32
Generic validator for any attribute of a feature.
Definition: ModelAPI_AttributeValidator.h:31