18 #ifndef CUTELYSTVALIDATOR_H
19 #define CUTELYSTVALIDATOR_H
21 #include <Cutelyst/cutelyst_global.h>
22 #include <Cutelyst/ParamsMultiMap>
23 #include <QScopedPointer>
24 #include "validatorresult.h"
55 class ValidatorPrivate;
246 NoSpecialBehavior = 0,
247 StopOnFirstError = 1,
248 FillStashOnError = 2,
253 Q_DECLARE_FLAGS(ValidatorFlags, ValidatorFlag)
260 #ifdef Q_COMPILER_INITIALIZER_LISTS
268 explicit Validator(std::initializer_list<ValidatorRule*> validators, QLatin1String translationContext = QLatin1String());
332 Q_DECLARE_OPERATORS_FOR_FLAGS(Cutelyst::Validator::ValidatorFlags)
334 #endif //CUTELYSTVALIDATOR_H
ValidatorFlag
Flags that change the behavior of the Validator.
Base class for all validator rules.
Validation processor for input data.
The Cutelyst Application.
Provides information about performed validations.