swift
Public Member Functions | Static Public Member Functions | List of all members
swift::misc::mixin::MetaType< Derived > Class Template Reference

CRTP class template from which a derived class can inherit common methods dealing with the metatype of the class. More...

Inherited by swift::misc::CContainerBase< CCollection< T > >, swift::misc::CContainerBase< CSequence< T > >, swift::misc::CValueObject< CPqString >, swift::misc::CValueObject< CUrlLog >, swift::misc::CValueObject< CFlightPlanAircraftInfo >, swift::misc::CValueObject< CAircraftSituation >, swift::misc::CValueObject< CAircraftModel >, swift::misc::CValueObject< CFacilityType >, swift::misc::CValueObject< CConnectionStatus >, swift::misc::CValueObject< CClient >, swift::misc::CValueObject< CAuthenticatedUser >, swift::misc::CValueObject< CUpdateInfo >, swift::misc::CValueObject< CModulator< AVIO > >, swift::misc::CValueObject< CGeneralGuiSettings >, swift::misc::CValueObject< CNavDataReference >, swift::misc::CValueObject< CInterpolationAndRenderingSetupPerCallsign >, swift::misc::CValueObject< CDistributor >, swift::misc::CValueObject< CInformationMessage >, swift::misc::CValueObject< CLogCategory >, swift::misc::CValueObject< CDatabaseReaderConfig >, swift::misc::CValueObject< CSimulatedAircraft >, swift::misc::CValueObject< CMatchingStatisticsEntry >, swift::misc::CValueObject< CTextMessage >, swift::misc::CValueObject< CRole >, swift::misc::CValueObject< CWakeTurbulenceCategory >, swift::misc::CValueObject< CComNavEquipment >, swift::misc::CValueObject< CRgbColor >, swift::misc::CValueObject< CAirspaceAircraftSnapshot >, swift::misc::CValueObject< CAirlineIcaoCode >, swift::misc::CValueObject< CAircraftCategory >, swift::misc::CValueObject< CIdentifier >, swift::misc::CValueObject< CLauncherSetup >, swift::misc::CValueObject< CFsxP3DSettings >, swift::misc::CValueObject< CSimulatorInternals >, swift::misc::CValueObject< CDbInfo >, swift::misc::CValueObject< CProcessInfo >, swift::misc::CValueObject< CDockWidgetSettings >, swift::misc::CValueObject< CTestFilter >, swift::misc::CValueObject< CXSwiftBusSettings >, swift::misc::CValueObject< CSimulatorInfo >, swift::misc::CValueObject< CCoordinateGeodetic >, swift::misc::CValueObject< CTransponder >, swift::misc::CValueObject< CViewUpdateSettings >, swift::misc::CValueObject< CCloudLayer >, swift::misc::CValueObject< CVPilotModelRule >, swift::misc::CValueObject< CDistributorListPreferences >, swift::misc::CValueObject< CUser >, swift::misc::CValueObject< CCallsign >, swift::misc::CValueObject< CAircraftSituationChange >, swift::misc::CValueObject< CAircraftEngine >, swift::misc::CValueObject< CPixmap >, swift::misc::CValueObject< CNameVariantPair >, swift::misc::CValueObject< CWindLayer >, swift::misc::CValueObject< CSimulatorSettings >, swift::misc::CValueObject< CInterpolationAndRenderingSetupGlobal >, swift::misc::CValueObject< CLoginMode >, swift::misc::CValueObject< CSelcal >, swift::misc::CValueObject< CLivery >, swift::misc::CValueObject< CFlightPlanRemarks >, swift::misc::CValueObject< CApplicationInfo >, swift::misc::CValueObject< CAircraftCfgEntries >, swift::misc::CValueObject< CRawFsdMessage >, swift::misc::CValueObject< CFsdSetup >, swift::misc::CValueObject< CEcosystem >, swift::misc::CValueObject< CAtcStation >, swift::misc::CValueObject< CSettings >, swift::misc::CValueObject< CCountry >, swift::misc::CValueObject< CSwiftPluginSettings >, swift::misc::CValueObject< CModelSettings >, swift::misc::CValueObject< CVoiceCapabilities >, swift::misc::CValueObject< CKeyboardKey >, swift::misc::CValueObject< CArtifact >, swift::misc::CValueObject< CSimBriefData >, swift::misc::CValueObject< CAircraftLights >, swift::misc::CValueObject< swift::core::vatsim::CRawFsdMessageSettings >, swift::misc::CValueObject< CGlobalSetup >, swift::misc::CValueObject< CAircraftVelocity >, swift::misc::CValueObject< CTestValueObject >, swift::misc::CValueObject< CCrashInfo >, swift::misc::CValueObject< CTextMessageSettings >, swift::misc::CValueObject< swift::core::vatsim::CReaderSettings >, swift::misc::CValueObject< CServer >, swift::misc::CValueObject< CAudioDeviceInfo >, swift::misc::CValueObject< CDirectories >, swift::misc::CValueObject< CVatsimSetup >, swift::misc::CValueObject< CAnyMatch >, swift::misc::CValueObject< COnGroundInfo >, swift::misc::CValueObject< CStatusMessage >, swift::misc::CValueObject< CPlatform >, swift::misc::CValueObject< CMetar >, swift::misc::CValueObject< CSimulatorMessagesSettings >, swift::misc::CValueObject< CFGSwiftBusSettings >, swift::misc::CValueObject< CUrl >, swift::misc::CValueObject< CRemoteFile >, swift::misc::CValueObject< CHotkeyCombination >, swift::misc::CValueObject< CDistribution >, swift::misc::CValueObject< CAirport >, swift::misc::CValueObject< CSimulatorPluginInfo >, swift::misc::CValueObject< CSsrEquipment >, swift::misc::CValueObject< CAircraftIcaoCode >, swift::misc::CValueObject< CNavigatorSettings >, swift::misc::CValueObject< CPresentWeather >, swift::misc::CValueObject< CAircraftMatcherSetup >, swift::misc::CValueObject< CJoystickButton >, swift::misc::CValueObject< CActionHotkey >, swift::misc::CValueObject< CFlightPlan >, swift::misc::CValueObject< CAirportIcaoCode >, swift::misc::CValueObject< CAircraftParts >, swift::misc::physical_quantities::CPhysicalQuantity< CMassUnit, CMass >, swift::misc::physical_quantities::CPhysicalQuantity< CAngleUnit, CAngle >, swift::misc::physical_quantities::CPhysicalQuantity< CTimeUnit, CTime >, swift::misc::physical_quantities::CPhysicalQuantity< CPressureUnit, CPressure >, swift::misc::physical_quantities::CPhysicalQuantity< CAccelerationUnit, CAcceleration >, swift::misc::physical_quantities::CPhysicalQuantity< CSpeedUnit, CSpeed >, swift::misc::physical_quantities::CPhysicalQuantity< CLengthUnit, CLength >, swift::misc::physical_quantities::CPhysicalQuantity< CTemperatureUnit, CTemperature >, swift::misc::physical_quantities::CPhysicalQuantity< CFrequencyUnit, CFrequency >, swift::misc::CContainerBase< Derived >, and swift::misc::CValueObject< Derived >.

Public Member Functions

int getMetaTypeId () const
 Returns the Qt meta type ID of this object. More...
 
QString getClassName () const
 Class name.
 
bool isA (int metaTypeId) const
 Returns true if this object is an instance of the class with the given meta type ID, or one of its subclasses.
 

Static Public Member Functions

static void registerMetadata ()
 Register metadata.
 

Detailed Description

template<class Derived>
class swift::misc::mixin::MetaType< Derived >

CRTP class template from which a derived class can inherit common methods dealing with the metatype of the class.

See also
SWIFT_MISC_DECLARE_USING_MIXIN_METATYPE

Definition at line 26 of file mixinmetatype.h.

Member Function Documentation

◆ getMetaTypeId()

template<class Derived >
int swift::misc::mixin::MetaType< Derived >::getMetaTypeId

Returns the Qt meta type ID of this object.

Remarks
for CVariant this returns the id of CVariant, not of the encapsulated object. valueVariant.userType()` returns metatype of the contained object

Definition at line 60 of file mixinmetatype.h.


The documentation for this class was generated from the following file: