// Author: Mikhail PONIKAROV
#include "GeomValidators_Positive.h"
+
+#include <Events_InfoMessage.h>
+
#include <ModelAPI_AttributeDouble.h>
#include <ModelAPI_AttributeInteger.h>
#include <ModelAPI_Session.h>
aFactory->registerValidator("GeomValidators_Positive", this);
}
-bool GeomValidators_Positive::isValid(const AttributePtr& theAttribute,
+bool GeomValidators_Positive::isValid(const AttributePtr& theAttribute,
const std::list<std::string>& theArguments,
- std::string& theError) const
+ Events_InfoMessage& theError) const
{
double aMinValue = 1.e-5;
if(theArguments.size() == 1) {