6#ifndef SWIFT_MISC_AVIATION_SELCAL_H
7#define SWIFT_MISC_AVIATION_SELCAL_H
19namespace swift::misc::physical_quantities
23namespace swift::misc::aviation
53 bool equalsString(
const QString &code)
const;
56 QString convertToQString(
bool i18n =
false)
const;
59 static const QString &validCharacters();
62 static bool isValidCharacter(
QChar c);
65 static bool isValidCode(
const QString &code);
static QString unifyCode(const QString &selcalCandidate)
Unify SELCAL code by removing illegal characters.
bool isValid() const
Is valid?
CSelcal()=default
Default constructor.
CSelcal(const char *code)
Constructor needed to disambiguate implicit conversion from string literal.
CSelcal(const QString &code)
Constructor.
const QString & getCode() const
Get SELCAL code.
static bool isValidCode(const QString &code)
Valid SELCAL code?
#define SWIFT_MISC_EXPORT
Export a class or function from the library.
#define SWIFT_DECLARE_VALUEOBJECT_MIXINS(Namespace, Class)
Explicit template declaration of mixins for a CValueObject subclass to be placed near the top of the ...