|
swift
|
Aircraft model (used by another pilot, my models on disk). More...
#include <aircraftmodel.h>
Public Types | |
| enum | ModelType { TypeUnknown , TypeQueriedFromNetwork , TypeFSInnData , TypeReverseLookup , TypeModelMatching , TypeModelMatchingDefaultModel , TypeDatabaseEntry , TypeManuallySet , TypeOwnSimulatorModel , TypeVPilotRuleBased , TypeTerrainProbe } |
| Model type. More... | |
| enum | ModelMode { Undefined = 0 , Include = 1 << 0 , Exclude = 1 << 1 , All = Include | Exclude } |
| Mode, decides if a model is supposed to be used in the model set for model matching or not. The combined type "All" is meant for search operations. More... | |
| enum | ColumnIndex { IndexModelString = CPropertyIndexRef::GlobalIndexCAircraftModel , IndexModelStringAlias , IndexAllModelStrings , IndexCallsign , IndexName , IndexDescription , IndexSimulatorInfo , IndexSimulatorInfoAsString , IndexAircraftIcaoCode , IndexLivery , IndexCG , IndexDistributor , IndexFileName , IndexFileTimestamp , IndexFileTimestampFormattedYmdhms , IndexModelType , IndexModelTypeAsString , IndexModelMode , IndexModelModeAsString , IndexSupportedParts , IndexModelModeAsIcon , IndexHasQueriedModelString , IndexMembersDbStatus } |
| Supposed to be used only in filter operations. More... | |
| using | MemoHelper = CMemoHelper<aviation::CAircraftIcaoCode, aviation::CLivery, CDistributor> |
| Helper class used by implementation. | |
| Public Types inherited from swift::misc::CValueObject< CAircraftModel > | |
| using | base_type |
| Base class. | |
| Public Types inherited from swift::misc::CEmpty | |
| using | base_type = CEmpty |
| Base class is alias of itself. | |
| Public Types inherited from swift::misc::mixin::Index< CAircraftModel > | |
| enum | ColumnIndex |
| Base class enums. More... | |
| Public Types inherited from swift::misc::db::IDatastoreObjectWithIntegerKey | |
| enum | ColumnIndex { IndexDbIntegerKey = CPropertyIndexRef::GlobalIndexIDatastoreInteger , IndexDbKeyAsString , IndexIsLoadedFromDb , IndexDatabaseIcon , IndexVersion , IndexEndMarker } |
| Property index. More... | |
| Public Types inherited from swift::misc::ITimestampBased | |
| enum | ColumnIndex { IndexUtcTimestamp = CPropertyIndexRef::GlobalIndexITimestampBased , IndexUtcTimestampFormattedYmdhms , IndexUtcTimestampFormattedYmdhmsz , IndexUtcTimestampFormattedMdhms , IndexUtcTimestampFormattedMdhmsz , IndexUtcTimestampFormattedDhms , IndexUtcTimestampFormattedHms , IndexUtcTimestampFormattedHm , IndexMSecsSinceEpoch } |
| Properties by index. More... | |
| Public Types inherited from swift::misc::IOrderable | |
| enum | ColumnIndex { IndexOrder = CPropertyIndexRef::GlobalIndexIOrderable , IndexOrderString } |
| Properties by index. More... | |
Public Member Functions | |
| CAircraftModel ()=default | |
| Default constructor. | |
| CAircraftModel (const QString &model, ModelType type) | |
| Constructor. | |
| CAircraftModel (const QString &model, ModelType type, const aviation::CAircraftIcaoCode &icao, const aviation::CLivery &livery) | |
| Constructor. | |
| CAircraftModel (const QString &model, ModelType type, const QString &description, const aviation::CAircraftIcaoCode &icao, const aviation::CLivery &livery=aviation::CLivery()) | |
| Constructor. | |
| CAircraftModel (const QString &model, ModelType type, const CSimulatorInfo &simulator, const QString &name, const QString &description) | |
| Constructor. | |
| CAircraftModel (const QString &model, ModelType type, const CSimulatorInfo &simulator, const QString &name, const QString &description, const aviation::CAircraftIcaoCode &icao, const aviation::CLivery &livery=aviation::CLivery()) | |
| Constructor. | |
| QVariant | propertyByIndex (CPropertyIndexRef index) const |
| Property by index. | |
| void | setPropertyByIndex (CPropertyIndexRef index, const QVariant &variant) |
| Set property by index. | |
| int | comparePropertyByIndex (CPropertyIndexRef index, const CAircraftModel &compareValue) const |
| Compare for index. | |
| QString | convertToQString (bool i18n=false) const |
| Cast as QString. | |
| bool | canInitializeFromFsd () const |
| Can be initialized from FSD. | |
| const aviation::CCallsign & | getCallsign () const |
| Corresponding callsign if applicable. | |
| void | setCallsign (const aviation::CCallsign &callsign) |
| Corresponding callsign if applicable. | |
| bool | isCallsignEmpty () const |
| Callsign empty. | |
| const QString & | getModelString () const |
| Model key, either queried or loaded from simulator model. | |
| QString | getModelStringAndDbKey () const |
| Model string and DB key (if available). | |
| void | setModelString (const QString &modelString) |
| Model string. | |
| const QString & | getModelStringAlias () const |
| Model key, either queried or loaded from simulator model. | |
| QString | getAllModelStringsAndAliases () const |
| Get model string and aliases. | |
| QString | getAllModelStringsAliasesAndDbKey () const |
| Get model string and aliases. | |
| void | setModelStringAlias (const QString &alias) |
| Model string alias. | |
| const QString & | getDescription () const |
| Descriptive text. | |
| void | setDescription (const QString &description) |
| Descriptive text. | |
| void | setQueriedModelString (const QString &model) |
| Set queried model string. | |
| const aviation::CAircraftIcaoCode & | getAircraftIcaoCode () const |
| Aircraft ICAO code. | |
| int | getEngineCount () const |
| Engine count if any, -1 if no value is set. | |
| const QString & | getAircraftIcaoCodeDesignator () const |
| Aircraft ICAO code designator. | |
| bool | isVtol () const |
| VTOL aircraft? | |
| const aviation::CAirlineIcaoCode & | getAirlineIcaoCode () const |
| Airline ICAO code. | |
| bool | setAirlineIcaoDesignator (const QString &designator) |
| Set airline ICAO code designator. | |
| const QString & | getAirlineIcaoCodeDesignator () const |
| Airline ICAO code designator. | |
| const QString | getAirlineIcaoCodeVDesignator () const |
| Airline ICAO code designator. | |
| bool | setAircraftIcaoCode (const aviation::CAircraftIcaoCode &aircraftIcaoCode) |
| Set aircraft ICAO code. | |
| void | setAircraftIcaoDesignator (const QString &designator) |
| Set aircraft ICAO code designator. | |
| void | setAircraftIcaoCodes (const aviation::CAircraftIcaoCode &aircraftIcaoCode, const aviation::CAirlineIcaoCode &airlineIcaoCode) |
| Set ICAO codes. | |
| bool | hasValidAircraftAndAirlineDesignator () const |
| Valid airline and aircraft designator? | |
| bool | hasAircraftDesignator () const |
| Has aircraft designator? | |
| bool | hasKnownAircraftDesignator () const |
| Has known aircraft designator? | |
| bool | hasCategory () const |
| Assigned a category? | |
| bool | hasAirlineDesignator () const |
| Airline designator? | |
| bool | hasAircraftAndAirlineDesignator () const |
| Designators. | |
| bool | isMilitary () const |
| Military model? | |
| bool | isCivilian () const |
| Civilian model? | |
| const aviation::CLivery & | getLivery () const |
| Get livery. | |
| void | setLivery (const aviation::CLivery &livery) |
| Livery. | |
| bool | hasLivery () const |
| Livery available? | |
| const CDistributor & | getDistributor () const |
| Get distributor. | |
| int | getDistributorOrder () const |
| Get distributor`s order value. | |
| void | setDistributor (const CDistributor &distributor) |
| Set distributor. | |
| bool | setDistributorOrder (int order) |
| Set the distributor order. | |
| bool | setDistributorOrder (const CDistributorList &distributors) |
| Update distributor`s order attribute. | |
| bool | hasDbDistributor () const |
| Distributor loaded from DB. | |
| bool | hasDistributor () const |
| Distributor, but not necessarily loaded from DB. | |
| bool | matchesDbDistributor (const CDistributor &distributor) const |
| By distributor. | |
| bool | matchesAnyDbDistributor (const CDistributorList &distributors) const |
| By distributor. | |
| const QString & | getName () const |
| Name. | |
| void | setName (const QString &name) |
| Name. | |
| const physical_quantities::CLength & | getCG () const |
| Get center of gravity. | |
| void | setCG (const physical_quantities::CLength &cg) |
| Get center of gravity. | |
| bool | hasCG () const |
| CG value available? | |
| const QString & | getSupportedParts () const |
| Supported parts. | |
| void | setSupportedParts (const QString &supportedParts) |
| Supported parts. | |
| ModelType | getModelType () const |
| Model type. | |
| bool | isTerrainProbe () const |
| Terrain probe? | |
| const QString & | getModelTypeAsString () const |
| Model type. | |
| void | setModelType (ModelType type) |
| Set type. | |
| ModelMode | getModelMode () const |
| Model mode. | |
| bool | matchesMode (simulation::CAircraftModel::ModelModeFilter mode) const |
| Matches given mode? | |
| const QString & | getModelModeAsString () const |
| Model mode as string. | |
| const CIcon & | getModelModeAsIcon () const |
| Model mode as string. | |
| void | setModelMode (ModelMode mode) |
| Set model mode. | |
| void | setModelModeAsString (const QString &mode) |
| Set model mode as string. | |
| CSimulatorInfo | getSimulator () const |
| Simulator info. | |
| void | setSimulator (const CSimulatorInfo &simulator) |
| Set simulator info. | |
| bool | matchesSimulator (const CSimulatorInfo &simulator) const |
| Matches given simulator? | |
| bool | matchesSimulatorFlag (CSimulatorInfo::Simulator simulator) const |
| Matches given simulator? | |
| QString | getSwiftLiveryString (bool aircraftIcao=true, bool livery=true, bool model=true) const |
| swift livery string (to be sent via network) | |
| QString | getSwiftLiveryString (const CSimulatorInfo &sim) const |
| swift livery string (to be sent via network) for simulator | |
| void | updateMissingParts (const CAircraftModel &otherModel, bool dbModelPriority=true) |
| Update missing parts from another model. | |
| void | updateByExistingDirectories (const CAircraftModel &otherModel) |
| Update the directories from other model. | |
| bool | hasQueriedModelString () const |
| Queried model string? | |
| bool | hasManuallySetString () const |
| Model string which was manually set. | |
| bool | hasModelString () const |
| Non empty model string? | |
| bool | hasModelStringAlias () const |
| Non empty model string alias? | |
| bool | hasAnyModelString () const |
| Any model string or alias? | |
| bool | hasDescription (bool ignoreAutoGenerated=false) const |
| Description. | |
| bool | hasValidSimulator () const |
| Valid simulator. | |
| QString | getMembersDbStatus () const |
| Info, which members (Livery, Aircraft ICAO, ...) are already based on DB data. | |
| bool | matchesModelString (const QString &modelString, Qt::CaseSensitivity sensitivity) const |
| Matches model string? | |
| bool | matchesModelStringOrAlias (const QString &modelString, Qt::CaseSensitivity sensitivity) const |
| Matches model string or alias? | |
| int | calculateScore (const CAircraftModel &compareModel, bool preferColorLiveries, CStatusMessageList *log=nullptr) const |
| Calculate score. | |
| CStatusMessageList | validate (bool withNestedObjects) const |
| Validate. | |
| bool | isEqualForPublishing (const CAircraftModel &dbModel, CStatusMessageList *details=nullptr) const |
| Considered equal for publishing, compares if livery etc. are the same DB values. | |
| QJsonObject | toMemoizedJson (MemoHelper::CMemoizer &) const |
| To JSON with memoized members (used by CAircraftModelList). | |
| void | convertFromMemoizedJson (const QJsonObject &json, const MemoHelper::CUnmemoizer &) |
| From JSON with memoized members (used by CAircraftModelList). | |
| QJsonObject | toDatabaseJson () const |
| To database JSON. | |
| QString | toDatabaseJsonString (QJsonDocument::JsonFormat format=QJsonDocument::Compact) const |
| To database JSON. | |
| QString | asHtmlSummary (const QString &separator="<br>") const |
| As a brief HTML summary (e.g. used in tooltips). | |
| const QString & | getFileName () const |
| File name (corresponding data for simulator, only available if representing simulator model. | |
| QString | getFileNameLowerCase () const |
| File name as lower case. | |
| bool | hasFileName () const |
| File name? | |
| bool | matchesFileName (const QString &fileName) const |
| Matching file name? | |
| bool | hasExistingCorrespondingFile () const |
| Does the corresponding file exist? | |
| QDir | getFileDirectory () const |
| Directory. | |
| QString | getFileDirectoryPath () const |
| Directory path if any. | |
| bool | isInPath (const QString &path, Qt::CaseSensitivity cs) const |
| Is the file in the give path. | |
| void | setFileName (const QString &fileName) |
| File name. | |
| QDateTime | getFileTimestamp () const |
| Get timestamp. | |
| QString | getFormattedFileTimestampYmdhms () const |
| File timestamp. | |
| bool | hasValidFileTimestamp () const |
| Valid file timestamp? | |
| void | setFileTimestamp (const QDateTime ×tampUtc) |
| Set file timestamp. | |
| void | setFileTimestamp (qint64 timestamp) |
| Set file timestamp. | |
| void | setFileDetailsAndTimestamp (const QFileInfo &fileInfo) |
| Set file timestamp, timestamp and file name. | |
| void | normalizeFileNameForDb () |
| File path for DB (absolute paths make no sense in DB). | |
| void | updateLocalFileNames (const CAircraftModel &model) |
| Update file names from local model. | |
| bool | adjustLocalFileNames (const QString &newModelDir, const QString &stripModelDirIndicator={}) |
| Adjust file names to a new directory. | |
| CStatusMessageList | verifyModelData () const |
| Verify the model data. | |
| Public Member Functions inherited from swift::misc::mixin::MetaType< CAircraftModel > | |
| int | getMetaTypeId () const |
| Returns the Qt meta type ID of this object. | |
| 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. | |
| Public Member Functions inherited from swift::misc::mixin::DBusByMetaClass< CAircraftModel > | |
| void | marshallToDbus (QDBusArgument &arg, Tags...) const |
| Marshall without begin/endStructure, for when composed within another object. | |
| void | unmarshallFromDbus (const QDBusArgument &arg, Tags...) |
| Unmarshall without begin/endStructure, for when composed within another object. | |
| Public Member Functions inherited from swift::misc::mixin::DataStreamByMetaClass< CAircraftModel > | |
| void | marshalToDataStream (QDataStream &stream) const |
| Marshal a value to a QDataStream. | |
| void | unmarshalFromDataStream (QDataStream &stream) |
| Unmarshal a value from a QDataStream. | |
| Public Member Functions inherited from swift::misc::mixin::JsonByMetaClass< CAircraftModel > | |
| QJsonObject | toJson () const |
| Cast to JSON object. | |
| QString | toJsonString (QJsonDocument::JsonFormat format=QJsonDocument::Indented) const |
| Convenience function JSON as string. | |
| void | convertFromJson (const QJsonObject &json) |
| Assign from JSON object. | |
| Public Member Functions inherited from swift::misc::mixin::String< CAircraftModel > | |
| QString | toQString (bool i18n=false) const |
| Cast as QString. | |
| std::string | toStdString (bool i18n=false) const |
| To std string. | |
| QString | stringForStreaming () const |
| String for streaming operators. | |
| Public Member Functions inherited from swift::misc::mixin::Index< CAircraftModel > | |
| CPropertyIndexList | apply (const CPropertyIndexVariantMap &indexMap, bool skipEqualValues=false) |
| Update by variant map. | |
| void | setPropertyByIndex (CPropertyIndexRef index, const QVariant &variant) |
| Set property by index. | |
| QVariant | propertyByIndex (CPropertyIndexRef index) const |
| Property by index. | |
| int | comparePropertyByIndex (CPropertyIndexRef index, const CAircraftModel &compareValue) const |
| Compare for index. | |
| bool | equalsPropertyByIndex (const QVariant &compareValue, CPropertyIndexRef index) const |
| Is given variant equal to value of property index? | |
| Public Member Functions inherited from swift::misc::mixin::Icon< CAircraftModel > | |
| CIcons::CIcons::StandardIconUnknown16 | toIcon () const |
| As icon, not implemented by all classes. | |
| Public Member Functions inherited from swift::misc::db::IDatastoreObjectWithIntegerKey | |
| int | getDbKey () const |
| Get DB key. | |
| QString | getDbKeyAsString () const |
| DB key as string. | |
| QJsonValue | getDbKeyAsJsonValue () const |
| Key as JSON value, or null. | |
| QString | getDbKeyAsStringInParentheses (const QString &prefix={}) const |
| Db key in parentheses, e.g. "(3)". | |
| void | setDbKey (int key) |
| Set the DB key. | |
| void | setDbKey (const QString &key) |
| DB key passed as string. | |
| bool | hasValidDbKey () const |
| Has valid DB key. | |
| bool | isDbEqual (const IDatastoreObjectWithIntegerKey &other) const |
| Same DB key and hence equal. | |
| bool | isLoadedFromDb () const |
| Loaded from DB. | |
| bool | matchesDbKeyState (db::DbKeyStateFilter filter) const |
| Matches filter? | |
| const CIcon & | toDatabaseIcon () const |
| Database icon if this has valid key, otherwise empty. | |
| Public Member Functions inherited from swift::misc::db::IDatastoreObject | |
| const QString & | getVersion () const |
| Version info. | |
| QVersionNumber | getQVersion () const |
| Version as QVersion. | |
| bool | hasVersion () const |
| Having a version?s. | |
| void | setVersion (const QString &version) |
| Version info. | |
| Public Member Functions inherited from swift::misc::ITimestampBased | |
| QDateTime | getUtcTimestamp () const |
| Get timestamp. | |
| qint64 | getMSecsSinceEpoch () const |
| Timestamp as ms value. | |
| qint64 | getTimeDifferenceMs (qint64 compareTime) const |
| Time difference in ms. | |
| qint64 | getTimeDifferenceAbsMs (qint64 compareTime) const |
| Time difference in ms. | |
| qint64 | getTimeDifferenceToNowMs () const |
| Time difference to now. | |
| qint64 | getTimeDifferenceMs (const ITimestampBased &compare) const |
| Time difference in ms. | |
| qint64 | getAbsTimeDifferenceMs (qint64 compareTime) const |
| Time difference in ms. | |
| qint64 | getAbsTimeDifferenceMs (const ITimestampBased &compare) const |
| Time difference in ms. | |
| void | setTimestampToNull () |
| Set to null. | |
| void | setMSecsSinceEpoch (qint64 mSecsSinceEpoch) |
| Timestamp as ms value. | |
| void | setByYearMonthDayHourMinute (const QString &yyyyMMddhhmmss) |
| Set by value such as "20141003231045". | |
| void | setUtcTimestamp (const QDateTime ×tamp) |
| Set timestamp. | |
| bool | isNewerThan (const ITimestampBased &otherTimestampObj) const |
| Is this newer than other? | |
| bool | isNewerThan (qint64 mSecsSinceEpoch) const |
| Is newer than epoch value? | |
| bool | isOlderThan (const ITimestampBased &otherTimestampObj) const |
| Is this older than other? | |
| bool | isOlderThan (qint64 mSecsSinceEpoch) const |
| Is this older than other? | |
| bool | isOlderThanNowMinusOffset (int offsetMs) const |
| Older than now-offset. | |
| bool | isSame (const ITimestampBased &otherTimestampObj) const |
| Same timestamp. | |
| qint64 | msecsTo (const ITimestampBased &otherTimestampObj) const |
| Time difference. | |
| qint64 | absMsecsTo (const ITimestampBased &otherTimestampObj) const |
| Time difference. | |
| qint64 | msecsToNow () const |
| Milliseconds to now. | |
| void | setCurrentUtcTime () |
| Set the current time as timestamp. | |
| void | addMsecs (qint64 ms) |
| Add the given number of milliseconds to the timestamp. | |
| QString | getFormattedUtcTimestampHms () const |
| As hh:mm:ss. | |
| QString | getFormattedUtcTimestampHmsz () const |
| As hh:mm:ss.zzz. | |
| QString | getFormattedUtcTimestampHm () const |
| As hh:mm. | |
| QString | getFormattedUtcTimestampDhms () const |
| As dd HH mm ss. | |
| QString | getFormattedUtcTimestampMdhms () const |
| As MM dd HH mm ss. | |
| QString | getFormattedUtcTimestampMdhmsz () const |
| As MM dd HH mm ss.zzz. | |
| QString | getFormattedUtcTimestampYmdhms () const |
| As yyyy MM dd HH mm ss. | |
| QString | getFormattedUtcTimestampYmdhmsz () const |
| As yyyy MM dd HH mm ss.zzz. | |
| bool | hasValidTimestamp () const |
| Valid timestamp? | |
| Public Member Functions inherited from swift::misc::IOrderable | |
| int | getOrder () const |
| Order. | |
| QString | getOrderAsString () const |
| Order as string. | |
| void | setOrder (int order) |
| Set order. | |
| bool | hasValidOrder () const |
| Valid order set? | |
Static Public Member Functions | |
| static void | registerMetadata () |
| Register metadata. | |
| static const QString & | modelTypeToString (ModelType type) |
| Model type. | |
| static QString | normalizeFileNameForDb (const QString &filePath) |
| File path used for DB. | |
| static ModelMode | modelModeFromString (const QString &mode) |
| Model mode. | |
| static const QString & | modelModeToString (ModelMode mode) |
| Model mode. | |
| static CAircraftModel | fromDatabaseJson (const QJsonObject &json, const QString &prefix=QString("mod_")) |
| From swift DB JSON. | |
| static CAircraftModel | fromDatabaseJsonCaching (const QJsonObject &json, aviation::AircraftIcaoIdMap &aircraftIcaos, const aviation::AircraftCategoryIdMap &categories, aviation::LiveryIdMap &liveries, DistributorIdMap &distributors, const QString &prefix=QString("mod_")) |
| From swift DB JSON, caching during this process (faster). | |
| static const QString & | liveryStringPrefix () |
| Livery string prefix. | |
| static bool | isSwiftLiveryString (const QString &liveryString) |
| swift livery string | |
| static DBTripleIds | parseNetworkLiveryString (const QString &liveryString) |
| Split swift network string. | |
| static const QString & | autoGenerated () |
| Hint, that model was automatically generated (e.g. by auto stashing). | |
| static QString | cleanUpPartsString (const QString &p) |
| Clean up parts string. | |
| static const QString & | supportedParts () |
| Supported parts. | |
| Static Public Member Functions inherited from swift::misc::mixin::MetaType< CAircraftModel > | |
| static void | registerMetadata () |
| Register metadata. | |
| Static Public Member Functions inherited from swift::misc::mixin::JsonByMetaClass< CAircraftModel > | |
| static DerivedObj | fromJson (const QJsonObject &json) |
| Get object from QJsonObject. | |
| static DerivedObj | fromJsonNoThrow (const QString &jsonString, bool acceptCacheJson, bool &success, QString &errMsg) |
| Get object from JSON string. | |
| Static Public Member Functions inherited from swift::misc::db::IDatastoreObjectWithIntegerKey | |
| static int | invalidDbKey () |
| Invalid key. | |
| static int | stringToDbKey (const QString &candidate) |
| Convert string to DB key. | |
| static const CPropertyIndex & | keyIndex () |
| The key index. | |
| Static Public Member Functions inherited from swift::misc::ITimestampBased | |
| static bool | isAnyTimestampIndex (int index) |
| Any of the timestamp indexes. | |
| static bool | canHandleIndex (CPropertyIndexRef index) |
| Can given index be handled. | |
| Static Public Member Functions inherited from swift::misc::IOrderable | |
| static bool | isAnyOrderIndex (int index) |
| Any order index. | |
Additional Inherited Members | |
| Protected Member Functions inherited from swift::misc::CValueObject< CAircraftModel > | |
| CEmpty ()=default | |
| Inheriting constructors. | |
| CEmpty (const CEmpty &)=default | |
| Inheriting constructors. | |
| CValueObject ()=default | |
| Default constructor. | |
| CValueObject & | operator= (const CValueObject &)=default |
| Copy assignment operator. | |
| ~CValueObject ()=default | |
| Destructor. | |
| Protected Member Functions inherited from swift::misc::CEmpty | |
| CEmpty ()=default | |
| Protected default constructor. | |
| CEmpty (const CEmpty &)=default | |
| Protected copy constructor. | |
| CEmpty & | operator= (const CEmpty &)=default |
| Protected copy assignment operator. | |
| ~CEmpty ()=default | |
| Non-virtual protected destructor. | |
| Protected Member Functions inherited from swift::misc::db::IDatastoreObjectWithIntegerKey | |
| IDatastoreObjectWithIntegerKey () | |
| Constructor. | |
| IDatastoreObjectWithIntegerKey (int key) | |
| Constructor. | |
| void | setKeyVersionTimestampFromDatabaseJson (const QJsonObject &json, const QString &prefix=QString()) |
| Set key and timestamp values. | |
| QVariant | propertyByIndex (swift::misc::CPropertyIndexRef index) const |
| Property by index. | |
| void | setPropertyByIndex (swift::misc::CPropertyIndexRef index, const QVariant &variant) |
| Set property by index. | |
| int | comparePropertyByIndex (CPropertyIndexRef index, const IDatastoreObjectWithIntegerKey &compareValue) const |
| Compare for index. | |
| Protected Member Functions inherited from swift::misc::db::IDatastoreObject | |
| void | setTimestampVersionFromDatabaseJson (const QJsonObject &json, const QString &prefix=QString()) |
| Set versionn and timestamp values. | |
| Protected Member Functions inherited from swift::misc::ITimestampBased | |
| ITimestampBased ()=default | |
| Constructor. | |
| ITimestampBased (qint64 msSincePoch) | |
| Constructor. | |
| ITimestampBased (const QDateTime ×tamp) | |
| Constructor. | |
| QVariant | propertyByIndex (CPropertyIndexRef index) const |
| Property by index. | |
| void | setPropertyByIndex (CPropertyIndexRef index, const QVariant &variant) |
| Set property by index. | |
| int | comparePropertyByIndex (CPropertyIndexRef index, const ITimestampBased &compareValue) const |
| Compare for index. | |
| void | updateMissingParts (const ITimestampBased &other) |
| Update missing parts. | |
| Protected Member Functions inherited from swift::misc::IOrderable | |
| IOrderable ()=default | |
| Constructor. | |
| IOrderable (int order) | |
| Constructor. | |
| QVariant | propertyByIndex (CPropertyIndexRef index) const |
| Property by index. | |
| void | setPropertyByIndex (CPropertyIndexRef index, const QVariant &variant) |
| Set property by index. | |
| int | comparePropertyByIndex (CPropertyIndexRef index, const IOrderable &compareValue) const |
| Compare for index. | |
| Static Protected Member Functions inherited from swift::misc::db::IDatastoreObjectWithIntegerKey | |
| static bool | existsKey (const QJsonObject &json, const QString &prefix=QString()) |
| Is a key available? | |
| static bool | canHandleIndex (swift::misc::CPropertyIndexRef index) |
| Can given index be handled? | |
| Static Protected Member Functions inherited from swift::misc::IOrderable | |
| static bool | canHandleIndex (CPropertyIndexRef index) |
| Can given index be handled. | |
| Protected Attributes inherited from swift::misc::db::IDatastoreObjectWithIntegerKey | |
| int | m_dbKey = -1 |
| key | |
| Protected Attributes inherited from swift::misc::db::IDatastoreObject | |
| QString | m_version |
| version info | |
| Protected Attributes inherited from swift::misc::ITimestampBased | |
| qint64 | m_timestampMSecsSinceEpoch = -1 |
| timestamp value | |
| Protected Attributes inherited from swift::misc::IOrderable | |
| int | m_order = -1 |
| order number | |
Aircraft model (used by another pilot, my models on disk).
Definition at line 67 of file aircraftmodel.h.
| using swift::misc::simulation::CAircraftModel::MemoHelper = CMemoHelper<aviation::CAircraftIcaoCode, aviation::CLivery, CDistributor> |
Helper class used by implementation.
Definition at line 436 of file aircraftmodel.h.
Supposed to be used only in filter operations.
Indexes
| Enumerator | |
|---|---|
| IndexAllModelStrings | indluding aliases |
Definition at line 103 of file aircraftmodel.h.
Mode, decides if a model is supposed to be used in the model set for model matching or not. The combined type "All" is meant for search operations.
Definition at line 91 of file aircraftmodel.h.
Model type.
| Enumerator | |
|---|---|
| TypeQueriedFromNetwork | model was queried by network protocol (ICAO data) |
| TypeFSInnData | model based on FSD ICAO data |
| TypeReverseLookup | reverse lookup model |
| TypeModelMatching | model is result of model matching |
| TypeModelMatchingDefaultModel | a default model assigned by model matching |
| TypeDatabaseEntry | used along with mapping definition |
| TypeManuallySet | manually set, e.g. from GUI |
| TypeOwnSimulatorModel | represents own simulator model (AI model, model on disk) |
| TypeVPilotRuleBased | based on a vPilot rule |
| TypeTerrainProbe | peudo aircraft used for terrain probing (FSX) |
Definition at line 74 of file aircraftmodel.h.
| swift::misc::simulation::CAircraftModel::CAircraftModel | ( | const QString & | model, |
| CAircraftModel::ModelType | type ) |
Constructor.
Definition at line 43 of file aircraftmodel.cpp.
| swift::misc::simulation::CAircraftModel::CAircraftModel | ( | const QString & | model, |
| CAircraftModel::ModelType | type, | ||
| const aviation::CAircraftIcaoCode & | icao, | ||
| const aviation::CLivery & | livery ) |
Constructor.
Definition at line 47 of file aircraftmodel.cpp.
| swift::misc::simulation::CAircraftModel::CAircraftModel | ( | const QString & | model, |
| CAircraftModel::ModelType | type, | ||
| const QString & | description, | ||
| const aviation::CAircraftIcaoCode & | icao, | ||
| const aviation::CLivery & | livery = aviation::CLivery() ) |
Constructor.
Definition at line 52 of file aircraftmodel.cpp.
| swift::misc::simulation::CAircraftModel::CAircraftModel | ( | const QString & | model, |
| CAircraftModel::ModelType | type, | ||
| const CSimulatorInfo & | simulator, | ||
| const QString & | name, | ||
| const QString & | description ) |
Constructor.
Definition at line 58 of file aircraftmodel.cpp.
| swift::misc::simulation::CAircraftModel::CAircraftModel | ( | const QString & | model, |
| CAircraftModel::ModelType | type, | ||
| const CSimulatorInfo & | simulator, | ||
| const QString & | name, | ||
| const QString & | description, | ||
| const aviation::CAircraftIcaoCode & | icao, | ||
| const aviation::CLivery & | livery = aviation::CLivery() ) |
Constructor.
Definition at line 64 of file aircraftmodel.cpp.
| bool swift::misc::simulation::CAircraftModel::adjustLocalFileNames | ( | const QString & | newModelDir, |
| const QString & | stripModelDirIndicator = {} ) |
Adjust file names to a new directory.
Definition at line 847 of file aircraftmodel.cpp.
| QString swift::misc::simulation::CAircraftModel::asHtmlSummary | ( | const QString & | separator = "<br>" | ) | const |
As a brief HTML summary (e.g. used in tooltips).
Definition at line 168 of file aircraftmodel.cpp.
|
static |
Hint, that model was automatically generated (e.g. by auto stashing).
Definition at line 1294 of file aircraftmodel.cpp.
| int swift::misc::simulation::CAircraftModel::calculateScore | ( | const CAircraftModel & | compareModel, |
| bool | preferColorLiveries, | ||
| CStatusMessageList * | log = nullptr ) const |
Calculate score.
Definition at line 942 of file aircraftmodel.cpp.
| bool swift::misc::simulation::CAircraftModel::canInitializeFromFsd | ( | ) | const |
Can be initialized from FSD.
Definition at line 214 of file aircraftmodel.cpp.
Clean up parts string.
Definition at line 1300 of file aircraftmodel.cpp.
| int swift::misc::simulation::CAircraftModel::comparePropertyByIndex | ( | CPropertyIndexRef | index, |
| const CAircraftModel & | compareValue ) const |
Compare for index.
Definition at line 384 of file aircraftmodel.cpp.
| void swift::misc::simulation::CAircraftModel::convertFromMemoizedJson | ( | const QJsonObject & | json, |
| const MemoHelper::CUnmemoizer & | helper ) |
From JSON with memoized members (used by CAircraftModelList).
Definition at line 152 of file aircraftmodel.cpp.
| QString swift::misc::simulation::CAircraftModel::convertToQString | ( | bool | i18n = false | ) | const |
Cast as QString.
Definition at line 71 of file aircraftmodel.cpp.
|
static |
From swift DB JSON.
Definition at line 1198 of file aircraftmodel.cpp.
|
static |
From swift DB JSON, caching during this process (faster).
Definition at line 1228 of file aircraftmodel.cpp.
|
inline |
Aircraft ICAO code.
Definition at line 216 of file aircraftmodel.h.
|
inline |
Aircraft ICAO code designator.
Definition at line 222 of file aircraftmodel.h.
|
inline |
Airline ICAO code.
Definition at line 228 of file aircraftmodel.h.
|
inline |
Airline ICAO code designator.
Definition at line 237 of file aircraftmodel.h.
|
inline |
Airline ICAO code designator.
Definition at line 243 of file aircraftmodel.h.
| QString swift::misc::simulation::CAircraftModel::getAllModelStringsAliasesAndDbKey | ( | ) | const |
Get model string and aliases.
Definition at line 254 of file aircraftmodel.cpp.
| QString swift::misc::simulation::CAircraftModel::getAllModelStringsAndAliases | ( | ) | const |
Get model string and aliases.
Definition at line 241 of file aircraftmodel.cpp.
|
inline |
Corresponding callsign if applicable.
Definition at line 173 of file aircraftmodel.h.
|
inline |
Get center of gravity.
Definition at line 325 of file aircraftmodel.h.
|
inline |
Descriptive text.
Definition at line 203 of file aircraftmodel.h.
|
inline |
Get distributor.
Definition at line 292 of file aircraftmodel.h.
|
inline |
Get distributor`s order value.
Definition at line 295 of file aircraftmodel.h.
|
inline |
Engine count if any, -1 if no value is set.
Definition at line 219 of file aircraftmodel.h.
| QDir swift::misc::simulation::CAircraftModel::getFileDirectory | ( | ) | const |
Directory.
Definition at line 887 of file aircraftmodel.cpp.
| QString swift::misc::simulation::CAircraftModel::getFileDirectoryPath | ( | ) | const |
Directory path if any.
Definition at line 897 of file aircraftmodel.cpp.
|
inline |
File name (corresponding data for simulator, only available if representing simulator model.
Definition at line 457 of file aircraftmodel.h.
|
inline |
File name as lower case.
Definition at line 460 of file aircraftmodel.h.
| QDateTime swift::misc::simulation::CAircraftModel::getFileTimestamp | ( | ) | const |
Get timestamp.
Definition at line 601 of file aircraftmodel.cpp.
| QString swift::misc::simulation::CAircraftModel::getFormattedFileTimestampYmdhms | ( | ) | const |
File timestamp.
Definition at line 607 of file aircraftmodel.cpp.
|
inline |
Get livery.
Definition at line 283 of file aircraftmodel.h.
| QString swift::misc::simulation::CAircraftModel::getMembersDbStatus | ( | ) | const |
Info, which members (Livery, Aircraft ICAO, ...) are already based on DB data.
Definition at line 811 of file aircraftmodel.cpp.
|
inline |
Model mode.
Definition at line 352 of file aircraftmodel.h.
| const CIcon & swift::misc::simulation::CAircraftModel::getModelModeAsIcon | ( | ) | const |
Model mode as string.
Definition at line 574 of file aircraftmodel.cpp.
|
inline |
Model mode as string.
Definition at line 358 of file aircraftmodel.h.
|
inline |
Model key, either queried or loaded from simulator model.
Definition at line 182 of file aircraftmodel.h.
|
inline |
Model key, either queried or loaded from simulator model.
Definition at line 191 of file aircraftmodel.h.
| QString swift::misc::simulation::CAircraftModel::getModelStringAndDbKey | ( | ) | const |
Model string and DB key (if available).
Definition at line 228 of file aircraftmodel.cpp.
|
inline |
Model type.
Definition at line 340 of file aircraftmodel.h.
|
inline |
Model type.
Definition at line 346 of file aircraftmodel.h.
|
inline |
Name.
Definition at line 319 of file aircraftmodel.h.
|
inline |
Simulator info.
Definition at line 370 of file aircraftmodel.h.
|
inline |
Supported parts.
Definition at line 334 of file aircraftmodel.h.
| QString swift::misc::simulation::CAircraftModel::getSwiftLiveryString | ( | bool | aircraftIcao = true, |
| bool | livery = true, | ||
| bool | model = true ) const |
swift livery string (to be sent via network)
Definition at line 650 of file aircraftmodel.cpp.
| QString swift::misc::simulation::CAircraftModel::getSwiftLiveryString | ( | const CSimulatorInfo & | sim | ) | const |
swift livery string (to be sent via network) for simulator
Definition at line 666 of file aircraftmodel.cpp.
| bool swift::misc::simulation::CAircraftModel::hasAircraftAndAirlineDesignator | ( | ) | const |
Designators.
Definition at line 473 of file aircraftmodel.cpp.
| bool swift::misc::simulation::CAircraftModel::hasAircraftDesignator | ( | ) | const |
Has aircraft designator?
Definition at line 465 of file aircraftmodel.cpp.
| bool swift::misc::simulation::CAircraftModel::hasAirlineDesignator | ( | ) | const |
Airline designator?
Definition at line 471 of file aircraftmodel.cpp.
|
inline |
Any model string or alias?
Definition at line 408 of file aircraftmodel.h.
| bool swift::misc::simulation::CAircraftModel::hasCategory | ( | ) | const |
Assigned a category?
Definition at line 469 of file aircraftmodel.cpp.
|
inline |
CG value available?
Definition at line 331 of file aircraftmodel.h.
| bool swift::misc::simulation::CAircraftModel::hasDbDistributor | ( | ) | const |
Distributor loaded from DB.
Definition at line 527 of file aircraftmodel.cpp.
| bool swift::misc::simulation::CAircraftModel::hasDescription | ( | bool | ignoreAutoGenerated = false | ) | const |
Description.
Definition at line 796 of file aircraftmodel.cpp.
| bool swift::misc::simulation::CAircraftModel::hasDistributor | ( | ) | const |
Distributor, but not necessarily loaded from DB.
Definition at line 529 of file aircraftmodel.cpp.
| bool swift::misc::simulation::CAircraftModel::hasExistingCorrespondingFile | ( | ) | const |
Does the corresponding file exist?
Definition at line 872 of file aircraftmodel.cpp.
|
inline |
File name?
Definition at line 463 of file aircraftmodel.h.
| bool swift::misc::simulation::CAircraftModel::hasKnownAircraftDesignator | ( | ) | const |
Has known aircraft designator?
Definition at line 467 of file aircraftmodel.cpp.
|
inline |
Livery available?
Definition at line 289 of file aircraftmodel.h.
| bool swift::misc::simulation::CAircraftModel::hasManuallySetString | ( | ) | const |
Model string which was manually set.
Definition at line 791 of file aircraftmodel.cpp.
|
inline |
Non empty model string?
Definition at line 402 of file aircraftmodel.h.
|
inline |
Non empty model string alias?
Definition at line 405 of file aircraftmodel.h.
| bool swift::misc::simulation::CAircraftModel::hasQueriedModelString | ( | ) | const |
Queried model string?
Definition at line 786 of file aircraftmodel.cpp.
| bool swift::misc::simulation::CAircraftModel::hasValidAircraftAndAirlineDesignator | ( | ) | const |
Valid airline and aircraft designator?
Definition at line 460 of file aircraftmodel.cpp.
| bool swift::misc::simulation::CAircraftModel::hasValidFileTimestamp | ( | ) | const |
Valid file timestamp?
Definition at line 612 of file aircraftmodel.cpp.
| bool swift::misc::simulation::CAircraftModel::hasValidSimulator | ( | ) | const |
Valid simulator.
Definition at line 809 of file aircraftmodel.cpp.
|
inline |
Callsign empty.
Definition at line 179 of file aircraftmodel.h.
| bool swift::misc::simulation::CAircraftModel::isCivilian | ( | ) | const |
Civilian model?
Definition at line 483 of file aircraftmodel.cpp.
| bool swift::misc::simulation::CAircraftModel::isEqualForPublishing | ( | const CAircraftModel & | dbModel, |
| CStatusMessageList * | details = nullptr ) const |
Considered equal for publishing, compares if livery etc. are the same DB values.
Definition at line 996 of file aircraftmodel.cpp.
| bool swift::misc::simulation::CAircraftModel::isInPath | ( | const QString & | path, |
| Qt::CaseSensitivity | cs ) const |
Is the file in the give path.
Definition at line 906 of file aircraftmodel.cpp.
| bool swift::misc::simulation::CAircraftModel::isMilitary | ( | ) | const |
Military model?
Definition at line 478 of file aircraftmodel.cpp.
|
static |
swift livery string
Definition at line 644 of file aircraftmodel.cpp.
|
inline |
Terrain probe?
Definition at line 343 of file aircraftmodel.h.
| bool swift::misc::simulation::CAircraftModel::isVtol | ( | ) | const |
VTOL aircraft?
Definition at line 267 of file aircraftmodel.cpp.
|
static |
Livery string prefix.
Definition at line 638 of file aircraftmodel.cpp.
| bool swift::misc::simulation::CAircraftModel::matchesAnyDbDistributor | ( | const CDistributorList & | distributors | ) | const |
By distributor.
Definition at line 547 of file aircraftmodel.cpp.
| bool swift::misc::simulation::CAircraftModel::matchesDbDistributor | ( | const CDistributor & | distributor | ) | const |
By distributor.
Definition at line 534 of file aircraftmodel.cpp.
| bool swift::misc::simulation::CAircraftModel::matchesFileName | ( | const QString & | fileName | ) | const |
Matching file name?
Definition at line 180 of file aircraftmodel.cpp.
| bool swift::misc::simulation::CAircraftModel::matchesMode | ( | simulation::CAircraftModel::ModelModeFilter | mode | ) | const |
Matches given mode?
Definition at line 565 of file aircraftmodel.cpp.
| bool swift::misc::simulation::CAircraftModel::matchesModelString | ( | const QString & | modelString, |
| Qt::CaseSensitivity | sensitivity ) const |
Matches model string?
Definition at line 928 of file aircraftmodel.cpp.
| bool swift::misc::simulation::CAircraftModel::matchesModelStringOrAlias | ( | const QString & | modelString, |
| Qt::CaseSensitivity | sensitivity ) const |
Matches model string or alias?
Definition at line 933 of file aircraftmodel.cpp.
| bool swift::misc::simulation::CAircraftModel::matchesSimulator | ( | const CSimulatorInfo & | simulator | ) | const |
Matches given simulator?
Definition at line 591 of file aircraftmodel.cpp.
| bool swift::misc::simulation::CAircraftModel::matchesSimulatorFlag | ( | CSimulatorInfo::Simulator | simulator | ) | const |
Matches given simulator?
Definition at line 596 of file aircraftmodel.cpp.
|
static |
Model mode.
Definition at line 1141 of file aircraftmodel.cpp.
|
static |
Model mode.
Definition at line 1155 of file aircraftmodel.cpp.
|
static |
Model type.
Definition at line 1102 of file aircraftmodel.cpp.
| void swift::misc::simulation::CAircraftModel::normalizeFileNameForDb | ( | ) |
File path for DB (absolute paths make no sense in DB).
Definition at line 823 of file aircraftmodel.cpp.
|
static |
File path used for DB.
Definition at line 1131 of file aircraftmodel.cpp.
|
static |
Split swift network string.
Definition at line 671 of file aircraftmodel.cpp.
| QVariant swift::misc::simulation::CAircraftModel::propertyByIndex | ( | CPropertyIndexRef | index | ) | const |
Property by index.
Definition at line 269 of file aircraftmodel.cpp.
|
static |
Register metadata.
Definition at line 37 of file aircraftmodel.cpp.
| bool swift::misc::simulation::CAircraftModel::setAircraftIcaoCode | ( | const aviation::CAircraftIcaoCode & | aircraftIcaoCode | ) |
Set aircraft ICAO code.
Definition at line 438 of file aircraftmodel.cpp.
| void swift::misc::simulation::CAircraftModel::setAircraftIcaoCodes | ( | const aviation::CAircraftIcaoCode & | aircraftIcaoCode, |
| const aviation::CAirlineIcaoCode & | airlineIcaoCode ) |
Set ICAO codes.
Definition at line 453 of file aircraftmodel.cpp.
| void swift::misc::simulation::CAircraftModel::setAircraftIcaoDesignator | ( | const QString & | designator | ) |
Set aircraft ICAO code designator.
Definition at line 448 of file aircraftmodel.cpp.
|
inline |
Set airline ICAO code designator.
Definition at line 231 of file aircraftmodel.h.
| void swift::misc::simulation::CAircraftModel::setCallsign | ( | const aviation::CCallsign & | callsign | ) |
Corresponding callsign if applicable.
Definition at line 222 of file aircraftmodel.cpp.
|
inline |
Get center of gravity.
Definition at line 328 of file aircraftmodel.h.
|
inline |
Descriptive text.
Definition at line 206 of file aircraftmodel.h.
|
inline |
Set distributor.
Definition at line 298 of file aircraftmodel.h.
| bool swift::misc::simulation::CAircraftModel::setDistributorOrder | ( | const CDistributorList & | distributors | ) |
Update distributor`s order attribute.
Definition at line 499 of file aircraftmodel.cpp.
| bool swift::misc::simulation::CAircraftModel::setDistributorOrder | ( | int | order | ) |
Set the distributor order.
Definition at line 485 of file aircraftmodel.cpp.
| void swift::misc::simulation::CAircraftModel::setFileDetailsAndTimestamp | ( | const QFileInfo & | fileInfo | ) |
Set file timestamp, timestamp and file name.
Definition at line 621 of file aircraftmodel.cpp.
|
inline |
File name.
Definition at line 481 of file aircraftmodel.h.
| void swift::misc::simulation::CAircraftModel::setFileTimestamp | ( | const QDateTime & | timestampUtc | ) |
Set file timestamp.
Definition at line 614 of file aircraftmodel.cpp.
| void swift::misc::simulation::CAircraftModel::setFileTimestamp | ( | qint64 | timestamp | ) |
Set file timestamp.
Definition at line 619 of file aircraftmodel.cpp.
|
inline |
Livery.
Definition at line 286 of file aircraftmodel.h.
|
inline |
Set model mode.
Definition at line 364 of file aircraftmodel.h.
| void swift::misc::simulation::CAircraftModel::setModelModeAsString | ( | const QString & | mode | ) |
Set model mode as string.
Definition at line 586 of file aircraftmodel.cpp.
|
inline |
Model string.
Definition at line 188 of file aircraftmodel.h.
|
inline |
Model string alias.
Definition at line 200 of file aircraftmodel.h.
|
inline |
Set type.
Definition at line 349 of file aircraftmodel.h.
|
inline |
Name.
Definition at line 322 of file aircraftmodel.h.
| void swift::misc::simulation::CAircraftModel::setPropertyByIndex | ( | CPropertyIndexRef | index, |
| const QVariant & | variant ) |
Set property by index.
Definition at line 314 of file aircraftmodel.cpp.
|
inline |
Set queried model string.
Definition at line 209 of file aircraftmodel.h.
|
inline |
Set simulator info.
Definition at line 373 of file aircraftmodel.h.
| void swift::misc::simulation::CAircraftModel::setSupportedParts | ( | const QString & | supportedParts | ) |
Supported parts.
Definition at line 560 of file aircraftmodel.cpp.
|
static |
Supported parts.
Definition at line 1311 of file aircraftmodel.cpp.
| QJsonObject swift::misc::simulation::CAircraftModel::toDatabaseJson | ( | ) | const |
To database JSON.
Definition at line 83 of file aircraftmodel.cpp.
| QString swift::misc::simulation::CAircraftModel::toDatabaseJsonString | ( | QJsonDocument::JsonFormat | format = QJsonDocument::Compact | ) | const |
To database JSON.
Definition at line 132 of file aircraftmodel.cpp.
| QJsonObject swift::misc::simulation::CAircraftModel::toMemoizedJson | ( | MemoHelper::CMemoizer & | helper | ) | const |
To JSON with memoized members (used by CAircraftModelList).
Definition at line 137 of file aircraftmodel.cpp.
| void swift::misc::simulation::CAircraftModel::updateByExistingDirectories | ( | const CAircraftModel & | otherModel | ) |
Update the directories from other model.
Definition at line 778 of file aircraftmodel.cpp.
| void swift::misc::simulation::CAircraftModel::updateLocalFileNames | ( | const CAircraftModel & | model | ) |
Update file names from local model.
Definition at line 825 of file aircraftmodel.cpp.
| void swift::misc::simulation::CAircraftModel::updateMissingParts | ( | const CAircraftModel & | otherModel, |
| bool | dbModelPriority = true ) |
Update missing parts from another model.
Definition at line 716 of file aircraftmodel.cpp.
| CStatusMessageList swift::misc::simulation::CAircraftModel::validate | ( | bool | withNestedObjects | ) | const |
Validate.
Definition at line 953 of file aircraftmodel.cpp.
| CStatusMessageList swift::misc::simulation::CAircraftModel::verifyModelData | ( | ) | const |
Verify the model data.
Definition at line 185 of file aircraftmodel.cpp.