20 #ifndef GeomValidators_ValidatorPositive_H
21 #define GeomValidators_ValidatorPositive_H
23 #include <GeomValidators.h>
24 #include <ModelAPI_AttributeValidator.h>
38 GEOMVALIDATORS_EXPORT
virtual bool isValid(
const AttributePtr& theAttribute,
39 const std::list<std::string>& theArguments,
An event message for sending a string message which has to be translated.
Definition: Events_InfoMessage.h:35
Validates that the double attribute is greater than 1.e-5.
Definition: GeomValidators_Positive.h:30
virtual GEOMVALIDATORS_EXPORT bool isValid(const AttributePtr &theAttribute, const std::list< std::string > &theArguments, Events_InfoMessage &theError) const
returns true if attribute is valid
Definition: GeomValidators_Positive.cpp:43
GeomValidators_Positive()
Constructor for only one instance per application: will register the validator.
Definition: GeomValidators_Positive.cpp:35
Generic validator for any attribute of a feature.
Definition: ModelAPI_AttributeValidator.h:31