18 #ifndef CUTELYSTVALIDATORPRESENT_H 19 #define CUTELYSTVALIDATORPRESENT_H 21 #include <Cutelyst/cutelyst_global.h> 22 #include "validatorrule.h" 26 class ValidatorPresentPrivate;
67 QString genericValidationError(
Context *c,
const QVariant &errorData = QVariant())
const override;
76 #endif //CUTELYSTVALIDATORPRESENT_H QMap< QString, QString > ParamsMultiMap
Stores custom error messages and the input field label.
The field under validation must be present in input data but can be empty.
The Cutelyst namespace holds all public Cutelyst API.
Base class for all validator rules.
Contains the result of a single input parameter validation.