flow.h
Go to the documentation of this file.
15 class Flow : public QObject, public interfaces::IModelData<data::Flow>, public interfaces::ASerializable<Flow>
Allow inherited class to serialize and deserialize itself.
Definition: iserializable.h:33
const data::Flow & data() const override
Return the data component.
Definition: flow.cpp:24
void serialize(QJsonObject &obj) const override
Implement this function to serialize into QJsonObject.
Definition: flow.cpp:12
void _deserialize(const QJsonObject &obj) override
Implement this function in order to use deserialize(const QJsonObject &obj)
Definition: flow.cpp:18
Definition: imodeldata.h:9
Flow & operator=(const Flow &link)=default
Definition: flow.h:15
bool setData(const data::Flow &data) override
Definition: flow.cpp:29
Definition: api.h:13
Definition: flow.h:14