iolink.h
Go to the documentation of this file.
1 #ifndef DNAI_MODELS_GUI_IOLINK
2 #define DNAI_MODELS_GUI_IOLINK
3 
6 #include "data/iolink.h"
7 
8 namespace dnai
9 {
10  namespace models
11  {
12  namespace gui
13  {
14  class IoLink : public interfaces::IModelData<data::IoLink>, public interfaces::ASerializable<IoLink>
15  {
16  public:
17  const data::IoLink& data() const override;
18  bool setData(const data::IoLink& data) override;
19  void serialize(QJsonObject& obj) const override;
20  protected:
21  void _deserialize(const QJsonObject& obj) override;
22  private:
24  };
25  }
26  }
27 }
28 
29 #endif //DNAI_MODELS_GUI_IOLINK
Allow inherited class to serialize and deserialize itself.
Definition: iserializable.h:33
Definition: imodeldata.h:9
Definition: api.h:13