OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
Connection.h
Go to the documentation of this file.
1#pragma once
2
3//C++ Header
4#include <string>
5
6//Service Header
7
8//Ot Header
10
12{
13public:
14 Connection();
15 virtual ~Connection();
16
18
19 /*bool operator<(const Connection& other) const {
20 if (this->getOriginUid() == other.getOriginUid()) {
21 return this->getDestinationUid() < other.getDestinationUid();
22 }
23 else {
24 return this->getOriginUid() < other.getOriginUid();
25 }
26 }*/
27
28 /*bool operator==(const Connection& other) const {
29 return this->getOriginUid() != other.getOriginUid() && this->getDestinationUid() != other.getDestinationUid();
30 }*/
31
32 void setNodeNumber(std::string num)
33 {
34 this->nodeNumber = num;
35 }
36
37 std::string getNodeNumber()
38 {
39 return this->nodeNumber;
40 }
41
42private:
43
44 std::string nodeNumber;
45
46
47
48
49};
Definition Connection.h:12
virtual ~Connection()
Definition Connection.cpp:10
std::string getNodeNumber()
Definition Connection.h:37
Connection()
Definition Connection.cpp:5
void setNodeNumber(std::string num)
Definition Connection.h:32
Definition GraphicsConnectionCfg.h:22
GraphicsConnectionCfg()
Definition GraphicsConnectionCfg.cpp:45