Explicit template instantiations for mixins for value classes

To reduce compile time.
This commit is contained in:
Mat Sutcliffe
2021-10-04 20:33:49 +01:00
parent 0a121d913d
commit 2b72600937
202 changed files with 461 additions and 2 deletions

View File

@@ -13,6 +13,8 @@
using namespace BlackMisc::Aviation;
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Weather, CCloudLayer)
namespace BlackMisc::Weather
{

View File

@@ -20,6 +20,8 @@
#include <QMetaType>
#include <QString>
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Weather, CCloudLayer)
namespace BlackMisc::Weather
{
/*!

View File

@@ -15,6 +15,8 @@ using namespace BlackMisc::Aviation;
using namespace BlackMisc::Geo;
using namespace BlackMisc::PhysicalQuantities;
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Weather, CGridPoint)
namespace BlackMisc::Weather
{
CGridPoint::CGridPoint(const QString &identifier,

View File

@@ -27,6 +27,8 @@
#include <QMetaType>
#include <QString>
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Weather, CGridPoint)
namespace BlackMisc::Weather
{
/*!

View File

@@ -17,6 +17,8 @@
using namespace BlackMisc::PhysicalQuantities;
using namespace BlackMisc::Aviation;
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Weather, CMetar)
namespace BlackMisc::Weather
{
CMetar::CMetar()

View File

@@ -26,6 +26,8 @@
#include <QMetaType>
#include <QString>
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Weather, CMetar)
namespace BlackMisc::Weather
{
class CCloudLayer;

View File

@@ -9,6 +9,8 @@
#include "blackmisc/weather/presentweather.h"
#include "blackmisc/propertyindexref.h"
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Weather, CPresentWeather)
namespace BlackMisc::Weather
{

View File

@@ -22,6 +22,8 @@
#include <QString>
#include <tuple>
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Weather, CPresentWeather)
namespace BlackMisc::Weather
{
/*!

View File

@@ -12,6 +12,8 @@
using namespace BlackMisc::Aviation;
using namespace BlackMisc::PhysicalQuantities;
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Weather, CTemperatureLayer)
namespace BlackMisc::Weather
{

View File

@@ -22,6 +22,8 @@
#include <QMetaType>
#include <QString>
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Weather, CTemperatureLayer)
namespace BlackMisc::Weather
{
/*!

View File

@@ -12,6 +12,8 @@
using namespace BlackMisc::PhysicalQuantities;
using namespace BlackMisc::Aviation;
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Weather, CVisibilityLayer)
namespace BlackMisc::Weather
{

View File

@@ -22,6 +22,8 @@
#include <QMetaType>
#include <QString>
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Weather, CVisibilityLayer)
namespace BlackMisc::Weather
{
/*!

View File

@@ -13,6 +13,8 @@
using namespace BlackMisc;
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Weather, CWeatherDataPluginInfo)
namespace BlackMisc::Weather
{
CWeatherDataPluginInfo::CWeatherDataPluginInfo(const QString &identifier, const QString &name, const QString &description, bool valid) :

View File

@@ -19,6 +19,8 @@
#include <QMetaType>
#include <QString>
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Weather, CWeatherDataPluginInfo)
namespace BlackMisc::Weather
{
//! Describing a weather data plugin

View File

@@ -8,6 +8,8 @@
#include "blackmisc/weather/weatherscenario.h"
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Weather, CWeatherScenario)
namespace BlackMisc::Weather
{
void CWeatherScenario::registerMetadata()

View File

@@ -17,6 +17,8 @@
#include <QMetaType>
#include <QVector>
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Weather, CWeatherScenario)
namespace BlackMisc::Weather
{
/*!

View File

@@ -13,6 +13,8 @@
using namespace BlackMisc::PhysicalQuantities;
using namespace BlackMisc::Aviation;
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackMisc::Weather, CWindLayer)
namespace BlackMisc::Weather
{

View File

@@ -22,6 +22,8 @@
#include <QMetaType>
#include <QString>
BLACK_DECLARE_VALUEOBJECT_MIXINS(BlackMisc::Weather, CWindLayer)
namespace BlackMisc::Weather
{
/*!