6 #ifndef SWIFT_MISC_DB_DISTRIBUTIONLIST_H
7 #define SWIFT_MISC_DB_DISTRIBUTIONLIST_H
21 namespace swift::misc::db
43 QStringList getChannels()
const;
46 void sortByStability(Qt::SortOrder order = Qt::AscendingOrder);
49 bool containsEqualOrMoreStable(
CDistribution &distribution)
const;
52 bool containsUnrestricted()
const;
55 bool containsChannel(
const QString &channel)
const;
58 CDistribution findFirstByChannelOrDefault(
const QString &channel)
const;
Generic ordered container with value semantics.
Generic sequential container with value semantics.
CSequence()=default
Default constructor.
Distributions for channel.
Multiple distributions for different channels:
List of objects read from database. Such objects should implement.
#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.