6#ifndef SWIFT_MISC_WEATHER_PRESENTWEATHER_H
7#define SWIFT_MISC_WEATHER_PRESENTWEATHER_H
20namespace swift::misc::weather
67 VolcanicAsh = 1 << 12,
71 DustSandWhirls = 1 << 16,
73 TornadoOrWaterspout = 1 << 18,
74 FunnelCloud = 1 << 19,
82 IndexPresentWeather = swift::misc::CPropertyIndexRef::GlobalIndexCPresentWeather,
89 static void registerMetadata();
122 QString convertToQString(
bool i18n =
false)
const;
125 Intensity m_intensity = Moderate;
126 Descriptor m_descriptor = None;
127 int m_weatherPhenomena;
Non-owning reference to a CPropertyIndex with a subset of its features.
Value object for present weather flags.
Intensity getIntensity() const
Get intensity.
int getWeatherPhenomena() const
Get weather phenomenas.
ColumnIndex
Properties by index.
Descriptor getDescriptor() const
Get descriptor.
WeatherPhenomenon
Weather Phenomenon.
void setIntensity(Intensity intensity)
Set intensity.
void setDescriptor(Descriptor descriptor)
Set descriptor.
CPresentWeather()=default
Default constructor.
void setWeatherPhenomena(int phenomena)
Set weather phenomena.
#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 ...