flowlink.h
Go to the documentation of this file.
1 #ifndef DNAI_MODELS_GUI_DATA_FLOWLINK_H
2 #define DNAI_MODELS_GUI_DATA_FLOWLINK_H
3 #include <QUuid>
4 
5 namespace dnai
6 {
7  namespace models
8  {
9  namespace gui
10  {
11  namespace data
12  {
13  struct FlowLink
14  {
15  QUuid from;
16  QUuid to;
17  quint32 outIndex;
18 
19  FlowLink &operator=(const FlowLink &other) = default;
20  bool operator!=(const FlowLink& other) const
21  {
22  return !(*this == other);
23  }
24  bool operator==(const FlowLink& other) const
25  {
26  return (
27  from == other.from &&
28  to == other.to &&
29  outIndex == other.outIndex
30  );
31  }
32  };
33  }
34  }
35  }
36 }
37 
38 #endif //DNAI_MODELS_GUI_DATA_FLOWLINK_H
Definition: api.h:13