6#ifndef SWIFT_MISC_SIMULATION_DISTRIBUTORLIST_H
7#define SWIFT_MISC_SIMULATION_DISTRIBUTORLIST_H
22namespace swift::misc::simulation
25 class CSimulatorModel;
Generic ordered container with value semantics.
CSequence()=default
Default constructor.
List of objects read from database. Such objects should implement.
Aircraft model (used by another pilot, my models on disk).
Value object encapsulating information of software distributor.
Value object encapsulating a list of distributors.
CDistributor findByModelData(const CAircraftModel &model) const
Find by model string.
CSequence()=default
Default constructor.
CDistributorList matchesSimulator(const CSimulatorInfo &simulator) const
Find for given simulator.
CDistributor findByKeyOrAlias(const QString &keyOrAlias) const
Find by id or alias.
bool isCompletelyFromDb() const
All data from DB?
QStringList getDbKeysAndAliases(bool sort) const
All DB keys and aliases.
int removeIfNotLoadedFromDb()
Remove distributors not from DB.
CDistributor smartDistributorSelector(const CDistributor &distributorPattern) const
Best match by given pattern.
CDistributorList matchesAnyFsFamily() const
Find all for all FS simulators.
CDistributorList()=default
Default constructor.
bool matchesAnyKeyOrAlias(const QString &keyOrAlias) const
At least is matching key or alias.
CDistributorList findFsFamilyStandard() const
Find the FS family standard distributors.
Simple hardcoded info about the corresponding simulator.
#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.