18 #ifndef CUTELYSTVALIDATORIP_H 19 #define CUTELYSTVALIDATORIP_H 21 #include <Cutelyst/cutelyst_global.h> 22 #include "validatorrule.h" 26 class ValidatorIpPrivate;
59 Q_DECLARE_FLAGS(Constraints, Constraint)
82 static bool validate(
const QString &value, Constraints constraints = NoConstraint);
105 Q_DECLARE_OPERATORS_FOR_FLAGS(Cutelyst::ValidatorIp::Constraints)
107 #endif //CUTELYSTVALIDATORIP_H Stores custom error messages and the input field label.
The Cutelyst namespace holds all public Cutelyst API.
Constraint
Acceptable address ranges.
Base class for all validator rules.
Contains the result of a single input parameter validation.
Checks if the field value is a valid IP address.