2 #include <State/Expression.hpp>
21 QValidator::State validate(QString& s,
int& pos)
const override
23 return ::State::Address::validateString(s) ? State::Acceptable : State::Intermediate;
31 QValidator::State validate(QString& s,
int& pos)
const override
33 auto res = ::State::parseAddressAccessor(s);
34 return bool(res) ? State::Acceptable : State::Intermediate;
41 using QValidator::QValidator;
43 QValidator::State validate(QString& s,
int& pos)
const override
45 return ::State::Address::validateFragment(s) ? QValidator::State::Acceptable
46 : QValidator::State::Invalid;
Definition: AddressValidator.hpp:28
Definition: AddressValidator.hpp:39
The AddressValidator class.
Definition: AddressValidator.hpp:18
Utilities for OSSIA data structures.
Definition: DeviceInterface.hpp:33