6 #ifndef SWIFT_MISC_AVIATION_AIRLINEICAOCODELIST_H
7 #define SWIFT_MISC_AVIATION_AIRLINEICAOCODELIST_H
14 #include <QStringList>
25 namespace swift::misc::aviation
38 static const QStringList &getLogCategories();
58 bool preferOperatingAirlines)
const;
102 const QString &airlineName,
const QString &telephony,
103 const QString &countryIso,
bool &reduced,
104 const QString &logInfo,
111 CAirlineIcaoCodeList ifPossibleReduceByTelephonyDesignator(
const QString &telephonyDesignator)
const;
114 QStringList toIcaoDesignatorCompleterStrings(
bool combinedString =
true,
bool sort =
true)
const;
117 QStringList toIcaoDesignatorNameCountryCompleterStrings(
bool sort =
true)
const;
120 QStringList toNameCompleterStrings(
bool sort =
true)
const;
123 QSet<QString> allDesignators()
const;
126 QSet<QString> allVDesignators()
const;
129 bool containsDesignator(
const QString &designator)
const;
132 bool containsVDesignator(
const QString &vDesignator)
const;
138 static CAirlineIcaoCodeList fromDatabaseJson(
const QJsonArray &array,
bool ignoreIncomplete =
true,
Generic ordered container with value semantics.
Generic sequential container with value semantics.
CSequence()=default
Default constructor.
Status messages, e.g. from Core -> GUI.
Value object for ICAO classification.
Value object encapsulating a list of ICAO codes.
Value object encapsulating information of a callsign.
List of objects read from database. Such objects should implement.
#define SWIFT_DECLARE_SEQUENCE_MIXINS(Namespace, T, List)
Explicit template declaration of mixins for a CSequence subclass to be placed near the top of the hea...
#define SWIFT_MISC_EXPORT
Export a class or function from the library.