5 #ifndef CUTELYSTVALIDATOR_H 6 #define CUTELYSTVALIDATOR_H 8 #include "validatorresult.h" 10 #include <Cutelyst/ParamsMultiMap> 11 #include <Cutelyst/cutelyst_global.h> 13 #include <QScopedPointer> 46 class ValidatorPrivate;
289 NoSpecialBehavior = 0,
292 FillStashOnError = 2,
302 Q_DECLARE_FLAGS(ValidatorFlags, ValidatorFlag)
309 #ifdef Q_COMPILER_INITIALIZER_LISTS 317 explicit Validator(std::initializer_list<ValidatorRule *> validators,
359 ValidatorFlags flags = NoSpecialBehavior)
const;
384 Q_DECLARE_OPERATORS_FOR_FLAGS(Cutelyst::Validator::ValidatorFlags)
386 #endif // CUTELYSTVALIDATOR_H
The Cutelyst namespace holds all public Cutelyst API.
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.