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)
The Cutelyst Application.
Provides information about performed validations.
Base class for all validator rules.
Validation processor for input data.
ValidatorFlag
Flags that change the behavior of the Validator.
The Cutelyst namespace holds all public Cutelyst API.