5#ifndef CUTELYSTVALIDATORNOTIN_H
6#define CUTELYSTVALIDATORNOTIN_H
8#include "validatorrule.h"
10#include <Cutelyst/cutelyst_global.h>
16class ValidatorNotInPrivate;
50 const QVariant &values,
51 Qt::CaseSensitivity cs = Qt::CaseSensitive,
53 const QString &defValKey = QString());
72 QString genericValidationError(
Context *c,
73 const QVariant &errorData = QVariant())
const override;
78 QString genericValidationDataError(
Context *c,
const QVariant &errorData)
const override;
Checks if the field value is not one from a list of values.
~ValidatorNotIn() override
Deconstructs the validator.
Base class for all validator rules.
The Cutelyst namespace holds all public Cutelyst API.
QMultiMap< QString, QString > ParamsMultiMap
Stores custom error messages and the input field label.
Contains the result of a single input parameter validation.