6#ifndef SWIFT_MISC_SIMULATION_FSCOMMON_AIRCRAFTCFGLIST_H
7#define SWIFT_MISC_SIMULATION_FSCOMMON_AIRCRAFTCFGLIST_H
26namespace swift::misc::simulation::fscommon
Generic ordered container with value semantics.
CSequence()=default
Default constructor.
Q_REQUIRED_RESULT CSequence sorted(Predicate p) const
Status messages, e.g. from Core -> GUI.
Value object encapsulating a list of aircraft models.
Simple hardcoded info about the corresponding simulator.
Utility, providing FS aircraft.cfg entries.
bool containsModelWithTitle(const QString &title, Qt::CaseSensitivity caseSensitivity=Qt::CaseInsensitive)
Contains model with title?
QString getTitlesAsString(bool sorted, const QString &separator=", ") const
All titles as string.
QStringList getTitles(bool sorted=false) const
All titles (aka model names).
CSequence()=default
Default constructor.
CAircraftCfgEntriesList findByTitle(const QString &title, Qt::CaseSensitivity caseSensitivity=Qt::CaseInsensitive) const
Find by title.
CAircraftCfgEntriesList()=default
Default constructor.
QStringList detectAmbiguousTitles() const
Ambiguous titles.
swift::misc::simulation::CAircraftModelList toAircraftModelList(bool ignoreDuplicatesAndEmptyModelStrings, CStatusMessageList &msgs) const
As aircraft models.
bool containsTitle(const QString &title) const
Can check if a title (model string) is known.
QSet< QString > getTitleSetUpperCase() const
Titles as set in upper case.
#define SWIFT_DECLARE_SEQUENCE_MIXINS(Namespace, T, List)
Explicit template declaration of mixins for a CSequence subclass to be placed near the top of the hea...
#define SWIFT_MISC_EXPORT
Export a class or function from the library.