20 #ifndef GeomValidators_ZeroOffset_H
21 #define GeomValidators_ZeroOffset_H
23 #include <GeomValidators.h>
24 #include <ModelAPI_Feature.h>
25 #include <ModelAPI_FeatureValidator.h>
40 GEOMVALIDATORS_EXPORT
virtual bool isValid(
const std::shared_ptr<ModelAPI_Feature>& theFeature,
41 const std::list<std::string>& theArguments,
45 GEOMVALIDATORS_EXPORT
virtual
An event message for sending a string message which has to be translated.
Definition: Events_InfoMessage.h:35
Validates that bounding planes not the same or both offsets are not 0.
Definition: GeomValidators_ZeroOffset.h:32
virtual GEOMVALIDATORS_EXPORT bool isNotObligatory(std::string theFeature, std::string theAttribute)
Definition: GeomValidators_ZeroOffset.cpp:231
virtual GEOMVALIDATORS_EXPORT bool isValid(const std::shared_ptr< ModelAPI_Feature > &theFeature, const std::list< std::string > &theArguments, Events_InfoMessage &theError) const
Returns true if feature and/or attributes are valid.
Definition: GeomValidators_ZeroOffset.cpp:38
The geneneric validator for the whole feature.
Definition: ModelAPI_FeatureValidator.h:35