linkabletype.h
Go to the documentation of this file.
1 #ifndef LINKABLETYPE_H
2 #define LINKABLETYPE_H
3 
4 namespace dnai
5 {
6  template<class T>
8  {
9  public:
11  const T &getValue() const { return m_value; }
12  void setValue(T value)
13  {
14  if (value == m_value)
15  return;
16  m_value = value;
17  }
18 
19  private:
21  };
22 
23 }
24 
25 #endif // LINKABLETYPE_H
void setValue(T value)
Definition: linkabletype.h:12
T m_value
Definition: linkabletype.h:20
Definition: api.h:13
const T & getValue() const
Definition: linkabletype.h:11
LinkableType()
Definition: linkabletype.h:10
Definition: linkabletype.h:7