input.h
Go to the documentation of this file.
1 #ifndef DNAI_MODELS_GUI_DATA_INPUT_H
2 #define DNAI_MODELS_GUI_DATA_INPUT_H
3 
4 #include "variable.h"
5 #include "linkable.h"
6 
7 namespace dnai
8 {
9  namespace models
10  {
11  namespace gui
12  {
13  namespace data
14  {
16  {
17  QString name;
18  Input &operator=(const Input &link) = default;
19  bool operator!=(const Input &link) const
20  {
21  return !(*this == link);
22  }
23  bool operator==(const Input &link) const
24  {
25  return (name == link.name && Variable::operator==(link) && Linkable::operator==(link));
26  }
27  };
28  }
29  }
30  }
31 }
32 
33 #endif //DNAI_MODELS_GUI_DATA_INPUT_H
QString name
Definition: input.h:17
Definition: variable.h:15
Definition: input.h:15
bool operator!=(const Input &link) const
Definition: input.h:19
Input & operator=(const Input &link)=default
Definition: api.h:13
bool operator==(const Input &link) const
Definition: input.h:23
Definition: linkable.h:14