|
swift
|
List of objects with callsign. More...
Public Member Functions | |
| bool | containsCallsign (const CCallsign &callsign) const |
| Contains callsign? | |
| int | applyIfCallsign (const CCallsign &callsign, const CPropertyIndexVariantMap &variantMap, bool skipEqualValues=true) |
| Apply for given callsign. | |
| swift::misc::aviation::CCallsignSet | getCallsigns () const |
| All callsigns. | |
| QStringList | getCallsignStrings (bool sorted=false) const |
| Get callsign string list. | |
| QString | getCallsignsAsString (const QString &separator, bool sorted=false) const |
| Get callsigns as strings. | |
| CONTAINER | findByCallsign (const CCallsign &callsign) const |
| Find 0..n stations by callsign. | |
| CONTAINER | findByCallsigns (const CCallsignSet &callsigns) const |
| Find 0..n aircraft matching any of a set of callsigns. | |
| OBJ | findFirstByCallsign (const CCallsign &callsign, const OBJ &ifNotFound={}) const |
| Find the first aircraft by callsign, if none return given one. | |
| OBJ | findLastByCallsign (const CCallsign &callsign, const OBJ &ifNotFound={}) const |
| Find the back object by callsign, if none return given one. | |
| CONTAINER | findBySuffix (const QString &suffix) const |
| All with given suffix, empty suffixes ignored. | |
| int | firstIndexOfCallsign (const CCallsign &callsign) |
| First found index of callsign, otherwise -1. | |
| int | removeByCallsign (const CCallsign &callsign) |
| Remove all objects with callsign. | |
| int | removeByCallsigns (const CCallsignSet &callsigns) |
| Remove all objects with callsigns. | |
| QMap< QString, int > | getSuffixesAndCount () const |
| All suffixes with their respective count. More... | |
| QStringList | getSuffixes () const |
| All suffixes, in the order of the list. More... | |
| QHash< CCallsign, CONTAINER > | splitPerCallsign () const |
| Split into 0..n containers as per callsign. | |
| int | replaceOrAddObjectByCallsign (const OBJ &otherObject) |
| Replace or add objects by callsign. | |
| int | replaceOrAddObjectsByCallsign (const CONTAINER &others) |
| Replace or add objects by callsign. | |
| int | incrementalUpdateOrAdd (const OBJ &objectBeforeChanges, const CPropertyIndexVariantMap &changedValues) |
| Incremental update or add object. | |
| void | sortByCallsign () |
| Sort by callsign. | |
| QMap< CCallsign, OBJ > | asCallsignMap () const |
| Turn into callsign map. | |
| QHash< CCallsign, OBJ > | asCallsignHash () const |
| Turn into callsign hash. | |
| CONTAINER | sortedByCallsign () const |
| Copy of list sorted by callsign. | |
Protected Member Functions | |
| ICallsignObjectList () | |
| Constructor. | |
| const CONTAINER & | container () const |
| Container. | |
| CONTAINER & | container () |
| Container. | |
List of objects with callsign.
Definition at line 21 of file callsignobjectlist.h.
|
inline |
All suffixes, in the order of the list.
Definition at line 138 of file callsignobjectlist.h.
|
inline |
All suffixes with their respective count.
Definition at line 123 of file callsignobjectlist.h.