4#ifndef SWIFT_MISC_AVIATION_SSREQUIPMENT_H
5#define SWIFT_MISC_AVIATION_SSREQUIPMENT_H
12namespace swift::misc::aviation
24 ModeSTypeE = (1 << 3),
25 ModeSTypeH = (1 << 4),
26 ModeSTypeI = (1 << 5),
27 ModeSTypeL = (1 << 6),
28 ModeSTypeX = (1 << 7),
29 ModeSTypeP = (1 << 8),
30 ModeSTypeS = (1 << 9),
40 Q_DECLARE_FLAGS(SSrEquipment, SsrEquipmentOption)
65 static QString flagToString(SSrEquipment flag);
67 SSrEquipment m_equipment = None;
Mix of the most commonly used mixin classes.
ICAO flightplan field 10b.
CSsrEquipment()=default
Create default SSR equipment with "None" equipment enabled.
QStringList enabledOptions() const
Get all enabled SSR equipment codes of this object as a list.
SsrEquipmentOption
Surveillance equipment options.
QString convertToQString(bool i18n=false) const
Get the SSR equipment string of this object (for example "LB1").
bool hasEquipment(SsrEquipmentOption equip) const
Does this object contains equip?
static QStringList allEquipmentLetters()
Get all possible SSR equipment code letters.
#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 ...