6 #ifndef SWIFT_MISC_WEATHER_PRESENTWEATHER_H
7 #define SWIFT_MISC_WEATHER_PRESENTWEATHER_H
20 namespace 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,
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.
Mix of the most commonly used mixin classes.
ColumnIndex
Base class enums.
Value object for present weather flags.
Intensity getIntensity() const
Get intensity.
int getWeatherPhenomena() const
Get weather phenomenas.
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.
void registerMetadata()
Register all relevant metadata in Misc.
#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 ...