6 #ifndef SWIFT_MISC_AVIATION_METAR_H
7 #define SWIFT_MISC_AVIATION_METAR_H
26 namespace swift::misc::weather
29 class CPresentWeather;
51 void setMessage(
const QString &message);
54 const QString &
getMessage()
const {
return m_metarMessage; }
57 bool hasMessage()
const;
60 void setReportType(ReportType type);
75 int getDay()
const {
return m_reportDay; }
81 void setAutomated(
bool isAutomated);
90 void setWindLayer(
const CWindLayer &windLayer);
135 QString getMetarText()
const;
138 QString convertToQString(
bool i18n =
false)
const;
144 QString m_metarMessage;
145 ReportType m_reportType = METAR;
149 bool m_isAutomated =
false;
Mix of the most commonly used mixin classes.
Value object encapsulating information of airport ICAO data.
Physical unit length (length)
Physical unit temperature.
Value object for a cloud layer.
Value object encapsulating a set of cloud layers.
Value object for present weather flags.
Value object encapsulating a list of present weathers.
Value object for a wind layer.
#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 ...