18 #ifndef CUTELYSTVALIDATORNUMERIC_H 19 #define CUTELYSTVALIDATORNUMERIC_H 21 #include <Cutelyst/cutelyst_global.h> 22 #include "validatorrule.h" 26 class ValidatorNumericPrivate;
77 QString genericValidationError(
Context *c,
const QVariant &errorData = QVariant())
const override;
86 #endif //CUTELYSTVALIDATORNUMERIC_H Stores custom error messages and the input field label.
The Cutelyst namespace holds all public Cutelyst API.
Base class for all validator rules.
Contains the result of a single input parameter validation.
Checks if the field under validation could be casted into a numeric value.