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>
46class ValidatorPrivate;
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;
384Q_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.
Validator(QLatin1String translationContext=QLatin1String())
Constructs a new Validator.
The Cutelyst namespace holds all public Cutelyst API.
QMultiMap< QString, QString > ParamsMultiMap