Definition at line 19 of file Connection.h.
◆ Connection() [1/6]
◆ Connection() [2/6]
◆ Connection() [3/6]
◆ Connection() [4/6]
◆ Connection() [5/6]
◆ ~Connection()
◆ Connection() [6/6]
◆ getId()
◆ getLabel()
const char * getLabel |
( |
| ) |
const |
|
inlineinherited |
Definition at line 35 of file Enum.h.
35{ return m_label.c_str(); }
◆ getLabelString()
const std::string & getLabelString |
( |
| ) |
const |
|
inlineinherited |
◆ operator=() [1/4]
Definition at line 57 of file Connection.cc.
58{
59 if (msg != NULL) *this = std::string(msg);
60 else *this = UNKNOWN;
61 return *this;
62}
◆ operator=() [2/4]
Operator =.
Definition at line 43 of file Connection.cc.
44{
45 Enum::operator=(connection);
46 return *this;
47}
◆ operator=() [3/4]
const Connection & operator= |
( |
const std::string & |
msg | ) |
|
Definition at line 49 of file Connection.cc.
50{
51 if (msg == ONLINE.getLabel()) *this = ONLINE;
52 else if (msg == OFFLINE.getLabel()) *this = OFFLINE;
53 else *this = UNKNOWN;
54 return *this;
55}
◆ operator=() [4/4]
Definition at line 64 of file Connection.cc.
65{
66 if (i == ONLINE.getId()) *this = ONLINE;
67 else if (i == OFFLINE.getId()) *this = OFFLINE;
68 else *this = UNKNOWN;
69 return *this;
70}
◆ m_id
◆ m_label
◆ OFFLINE
◆ ONLINE
◆ UNKNOWN
The documentation for this class was generated from the following files: