6 #ifndef SWIFT_MISC_AVIATION_AIRCRAFTENGINELIST_H
7 #define SWIFT_MISC_AVIATION_AIRCRAFTENGINELIST_H
9 #include <initializer_list>
12 #include <QJsonObject>
23 namespace swift::misc::aviation
50 bool isEngineOn(
int engineNumber)
const;
54 void setEngineOn(
int engineNumber,
bool on);
60 void initEngines(
int engineNumber,
bool on);
63 bool isAnyEngineOn()
const;
66 QJsonObject toJson()
const;
69 void convertFromJson(
const QJsonObject &json);
Generic ordered container with value semantics.
Generic sequential container with value semantics.
CSequence()=default
Default constructor.
Value object encapsulating information about aircraft's engines.
Value object encapsulating a list of aircraft engines.
CAircraftEngineList()=default
Default constructor.
CRTP class template which will generate marshalling operators for a derived class with its own marsha...
#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.