|
swift
|
Value object encapsulating information about an airpot. More...
#include <livery.h>
Public Types | |
| enum | ColumnIndex { IndexDescription = CPropertyIndexRef::GlobalIndexCLivery , IndexAirlineIcaoCode , IndexCombinedCode , IndexColorFuselage , IndexColorTail , IndexIsMilitary } |
| Properties by index. More... | |
| Public Types inherited from swift::misc::CValueObject< CLivery > | |
| 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< CLivery > | |
| 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 Member Functions | |
| CLivery ()=default | |
| Default constructor. | |
| CLivery (const QString &combinedCode, const CAirlineIcaoCode &airline, const QString &description) | |
| Constructor. | |
| CLivery (const QString &combinedCode, const CAirlineIcaoCode &airline, const QString &description, const QString &colorFuselage, const QString &colorTail, bool isMilitary) | |
| Constructor. | |
| CLivery (const QString &combinedCode, const CAirlineIcaoCode &airline, const QString &description, const CRgbColor &colorFuselage, const CRgbColor &colorTail, bool isMilitary) | |
| Constructor. | |
| CLivery (int dbKey, const QString &combinedCode, const CAirlineIcaoCode &airline, const QString &description, const QString &colorFuselage, const QString &colorTail, bool isMilitary) | |
| Constructor. | |
| CLivery (int dbKey, const QString &combinedCode, const CAirlineIcaoCode &airline, const QString &description, const CRgbColor &colorFuselage, const CRgbColor &colorTail, bool isMilitary) | |
| Constructor. | |
| const CAirlineIcaoCode & | getAirlineIcaoCode () const |
| Corresponding airline, if any. | |
| const QString & | getAirlineIcaoCodeDesignator () const |
| Corresponding airline designator, if any. | |
| const QString & | getCombinedCode () const |
| Combined code. | |
| QString | getCombinedCodePlusInfo () const |
| Combined code plus info. | |
| QString | getCombinedCodePlusId () const |
| Combined code plus id. | |
| QString | getCombinedCodePlusInfoAndId () const |
| Combined code, info, plus id. | |
| const QString & | getDescription () const |
| Get description. | |
| const QString & | getAirlineName () const |
| Get corresponding airline name. | |
| bool | isContainedInSimplifiedAirlineName (const QString &candidate) const |
| Does simplified airline name contain the candidate. | |
| const CRgbColor & | getColorFuselage () const |
| Get fuselage color. | |
| const CRgbColor & | getColorTail () const |
| Get tail color. | |
| bool | isMilitary () const |
| Military livery. | |
| bool | setAirlineIcaoCode (const CAirlineIcaoCode &airlineIcao) |
| Airline ICAO code. | |
| bool | setAirlineIcaoCodeDesignator (const QString &airlineIcaoDesignator) |
| Airline ICAO code designator. | |
| void | setCombinedCode (const QString &code) |
| Combined code. | |
| void | setColorFuselage (const CRgbColor &color) |
| Set fuselage color. | |
| void | setColorTail (const CRgbColor &color) |
| Set tail color. | |
| bool | hasColorFuselage () const |
| Fuselage color set? | |
| bool | hasColorTail () const |
| Tail color set? | |
| bool | hasValidColors () const |
| Has valid (fuselage/tail) colors? | |
| void | setDescription (const QString &description) |
| Set description. | |
| void | setMilitary (bool isMilitary) |
| Military aircraft? | |
| bool | matchesCombinedCode (const QString &candidate) const |
| Matches combined code. | |
| bool | matchesColors (const CRgbColor &fuselage, const CRgbColor &tail) const |
| Matches colors. | |
| QVariant | propertyByIndex (CPropertyIndexRef index) const |
| Property by index. | |
| void | setPropertyByIndex (CPropertyIndexRef index, const QVariant &variant) |
| Set property by index. | |
| int | comparePropertyByIndex (CPropertyIndexRef index, const CLivery &compareValue) const |
| Compare for index. | |
| QString | convertToQString (bool i18n=false) const |
| Cast as QString. | |
| bool | hasCompleteData () const |
| Complete data? | |
| CStatusMessageList | validate () const |
| Validate data. | |
| bool | hasValidAirlineDesignator () const |
| Airline available? | |
| bool | hasAirlineName () const |
| Has airline name? | |
| bool | hasCombinedCode () const |
| Livery combined code available? | |
| bool | isAirlineLivery () const |
| Livery representing airline. | |
| bool | isAirlineOperating () const |
| Is airline operating? | |
| bool | isAirlineStandardLivery () const |
| Livery representing airline standard livery. | |
| bool | isColorLivery () const |
| Color livery? | |
| double | getColorDistance (const CLivery &otherLivery) const |
| Color distance 0..1 (0 is best). | |
| double | getColorDistance (const CRgbColor &fuselage, const CRgbColor &tail) const |
| Combined color distance (fuselage/tail): 0..1 (0 is best). | |
| void | updateMissingParts (const CLivery &otherLivery) |
| Update missing parts. | |
| QString | asHtmlSummary (const QString &separator) const |
| As a brief HTML summary (e.g. used in tooltips). | |
| int | calculateScore (const CLivery &otherLivery, bool preferColorLiveries=false, CStatusMessageList *log=nullptr) const |
| Score by comparison to another livery 0..100. | |
| bool | isNull () const |
| Null livery? | |
| Public Member Functions inherited from swift::misc::mixin::MetaType< CLivery > | |
| 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< CLivery > | |
| 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< CLivery > | |
| 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< CLivery > | |
| 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< CLivery > | |
| 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< CLivery > | |
| 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 CLivery &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< CLivery > | |
| 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? | |
Static Public Member Functions | |
| static const CLivery & | null () |
| NULL object. | |
| static CLivery | fromDatabaseJson (const QJsonObject &json, const QString &prefix=QString("liv_")) |
| Object from JSON. | |
| static CLivery | fromDatabaseJsonCaching (const QJsonObject &json, AirlineIcaoIdMap &airlineIcaos, const QString &prefix=QString("liv_")) |
| Object from JSON caching. | |
| static bool | isValidCombinedCode (const QString &candidate) |
| Valid combined code string? | |
| static const QString & | standardLiveryMarker () |
| Standard livery marker string. | |
| static QString | getStandardCode (const aviation::CAirlineIcaoCode &airline) |
| Standard code for airline. | |
| static const QString & | colorLiveryMarker () |
| Color livery marker. | |
| static const QString & | tempLiveryCode () |
| The code for a temporary livery. | |
| static CStatusMessage | logMessage (const CLivery &livery, const QString &message, const QStringList &extraCategories={}, CStatusMessage::StatusSeverity s=CStatusMessage::SeverityInfo) |
| Specialized log message for matching / reverse lookup. | |
| static void | addLogDetailsToList (CStatusMessageList *log, const CLivery &livery, const QString &message, const QStringList &extraCategories={}, CStatusMessage::StatusSeverity s=CStatusMessage::SeverityInfo) |
| Specialized log for matching / reverse lookup. | |
| Static Public Member Functions inherited from swift::misc::mixin::MetaType< CLivery > | |
| static void | registerMetadata () |
| Register metadata. | |
| Static Public Member Functions inherited from swift::misc::mixin::JsonByMetaClass< CLivery > | |
| 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. | |
Additional Inherited Members | |
| Protected Member Functions inherited from swift::misc::CValueObject< CLivery > | |
| 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. | |
| 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? | |
| 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 | |
| swift::misc::aviation::CLivery::CLivery | ( | const QString & | combinedCode, |
| const CAirlineIcaoCode & | airline, | ||
| const QString & | description ) |
Constructor.
Definition at line 28 of file livery.cpp.
| swift::misc::aviation::CLivery::CLivery | ( | const QString & | combinedCode, |
| const CAirlineIcaoCode & | airline, | ||
| const QString & | description, | ||
| const QString & | colorFuselage, | ||
| const QString & | colorTail, | ||
| bool | isMilitary ) |
Constructor.
Definition at line 32 of file livery.cpp.
| swift::misc::aviation::CLivery::CLivery | ( | const QString & | combinedCode, |
| const CAirlineIcaoCode & | airline, | ||
| const QString & | description, | ||
| const CRgbColor & | colorFuselage, | ||
| const CRgbColor & | colorTail, | ||
| bool | isMilitary ) |
Constructor.
Definition at line 37 of file livery.cpp.
| swift::misc::aviation::CLivery::CLivery | ( | int | dbKey, |
| const QString & | combinedCode, | ||
| const CAirlineIcaoCode & | airline, | ||
| const QString & | description, | ||
| const QString & | colorFuselage, | ||
| const QString & | colorTail, | ||
| bool | isMilitary ) |
Constructor.
Definition at line 42 of file livery.cpp.
| swift::misc::aviation::CLivery::CLivery | ( | int | dbKey, |
| const QString & | combinedCode, | ||
| const CAirlineIcaoCode & | airline, | ||
| const QString & | description, | ||
| const CRgbColor & | colorFuselage, | ||
| const CRgbColor & | colorTail, | ||
| bool | isMilitary ) |
Constructor.
Definition at line 50 of file livery.cpp.
|
static |
Specialized log for matching / reverse lookup.
Definition at line 362 of file livery.cpp.
As a brief HTML summary (e.g. used in tooltips).
Definition at line 489 of file livery.cpp.
| int swift::misc::aviation::CLivery::calculateScore | ( | const CLivery & | otherLivery, |
| bool | preferColorLiveries = false, | ||
| CStatusMessageList * | log = nullptr ) const |
Score by comparison to another livery 0..100.
Definition at line 499 of file livery.cpp.
|
static |
Color livery marker.
Definition at line 339 of file livery.cpp.
| int swift::misc::aviation::CLivery::comparePropertyByIndex | ( | CPropertyIndexRef | index, |
| const CLivery & | compareValue ) const |
Compare for index.
Definition at line 424 of file livery.cpp.
| QString swift::misc::aviation::CLivery::convertToQString | ( | bool | i18n = false | ) | const |
Cast as QString.
Definition at line 120 of file livery.cpp.
|
static |
Object from JSON.
Definition at line 220 of file livery.cpp.
|
static |
Object from JSON caching.
Definition at line 257 of file livery.cpp.
|
inline |
|
inline |
|
inline |
| double swift::misc::aviation::CLivery::getColorDistance | ( | const CLivery & | otherLivery | ) | const |
Color distance 0..1 (0 is best).
Definition at line 192 of file livery.cpp.
| double swift::misc::aviation::CLivery::getColorDistance | ( | const CRgbColor & | fuselage, |
| const CRgbColor & | tail ) const |
Combined color distance (fuselage/tail): 0..1 (0 is best).
Definition at line 197 of file livery.cpp.
|
inline |
|
inline |
|
inline |
| QString swift::misc::aviation::CLivery::getCombinedCodePlusId | ( | ) | const |
Combined code plus id.
Definition at line 64 of file livery.cpp.
| QString swift::misc::aviation::CLivery::getCombinedCodePlusInfo | ( | ) | const |
Combined code plus info.
Definition at line 58 of file livery.cpp.
| QString swift::misc::aviation::CLivery::getCombinedCodePlusInfoAndId | ( | ) | const |
Combined code, info, plus id.
Definition at line 69 of file livery.cpp.
|
inline |
|
static |
Standard code for airline.
Definition at line 333 of file livery.cpp.
| bool swift::misc::aviation::CLivery::hasAirlineName | ( | ) | const |
Has airline name?
Definition at line 166 of file livery.cpp.
| bool swift::misc::aviation::CLivery::hasColorFuselage | ( | ) | const |
Fuselage color set?
Definition at line 99 of file livery.cpp.
| bool swift::misc::aviation::CLivery::hasColorTail | ( | ) | const |
Tail color set?
Definition at line 101 of file livery.cpp.
| bool swift::misc::aviation::CLivery::hasCombinedCode | ( | ) | const |
Livery combined code available?
Definition at line 168 of file livery.cpp.
| bool swift::misc::aviation::CLivery::hasCompleteData | ( | ) | const |
Complete data?
Definition at line 130 of file livery.cpp.
| bool swift::misc::aviation::CLivery::hasValidAirlineDesignator | ( | ) | const |
Airline available?
Definition at line 164 of file livery.cpp.
| bool swift::misc::aviation::CLivery::hasValidColors | ( | ) | const |
Has valid (fuselage/tail) colors?
Definition at line 103 of file livery.cpp.
| bool swift::misc::aviation::CLivery::isAirlineLivery | ( | ) | const |
Livery representing airline.
Definition at line 174 of file livery.cpp.
| bool swift::misc::aviation::CLivery::isAirlineOperating | ( | ) | const |
Is airline operating?
Definition at line 176 of file livery.cpp.
| bool swift::misc::aviation::CLivery::isAirlineStandardLivery | ( | ) | const |
Livery representing airline standard livery.
Definition at line 181 of file livery.cpp.
| bool swift::misc::aviation::CLivery::isColorLivery | ( | ) | const |
Color livery?
Definition at line 190 of file livery.cpp.
| bool swift::misc::aviation::CLivery::isContainedInSimplifiedAirlineName | ( | const QString & | candidate | ) | const |
Does simplified airline name contain the candidate.
Definition at line 74 of file livery.cpp.
|
inline |
| bool swift::misc::aviation::CLivery::isNull | ( | ) | const |
Null livery?
Definition at line 558 of file livery.cpp.
|
static |
Valid combined code string?
Definition at line 307 of file livery.cpp.
|
static |
Specialized log message for matching / reverse lookup.
Definition at line 351 of file livery.cpp.
| bool swift::misc::aviation::CLivery::matchesColors | ( | const CRgbColor & | fuselage, |
| const CRgbColor & | tail ) const |
Matches colors.
Definition at line 115 of file livery.cpp.
| bool swift::misc::aviation::CLivery::matchesCombinedCode | ( | const QString & | candidate | ) | const |
Matches combined code.
Definition at line 105 of file livery.cpp.
|
static |
NULL object.
Definition at line 560 of file livery.cpp.
| QVariant swift::misc::aviation::CLivery::propertyByIndex | ( | CPropertyIndexRef | index | ) | const |
Property by index.
Definition at line 376 of file livery.cpp.
| bool swift::misc::aviation::CLivery::setAirlineIcaoCode | ( | const CAirlineIcaoCode & | airlineIcao | ) |
Airline ICAO code.
Definition at line 79 of file livery.cpp.
| bool swift::misc::aviation::CLivery::setAirlineIcaoCodeDesignator | ( | const QString & | airlineIcaoDesignator | ) |
Airline ICAO code designator.
Definition at line 89 of file livery.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void swift::misc::aviation::CLivery::setPropertyByIndex | ( | CPropertyIndexRef | index, |
| const QVariant & | variant ) |
Set property by index.
Definition at line 399 of file livery.cpp.
|
static |
Standard livery marker string.
Definition at line 327 of file livery.cpp.
|
static |
The code for a temporary livery.
Definition at line 345 of file livery.cpp.
| void swift::misc::aviation::CLivery::updateMissingParts | ( | const CLivery & | otherLivery | ) |
Update missing parts.
Definition at line 452 of file livery.cpp.
| CStatusMessageList swift::misc::aviation::CLivery::validate | ( | ) | const |
Validate data.
Definition at line 132 of file livery.cpp.