|
| | ERRORNo (int id, const char *label) |
| |
Definition at line 19 of file ERRORNo.h.
◆ ERRORNo() [1/5]
◆ ERRORNo() [2/5]
◆ ERRORNo() [3/5]
◆ ERRORNo() [4/5]
◆ ~ERRORNo()
◆ ERRORNo() [5/5]
| ERRORNo |
( |
int | id, |
|
|
const char * | label ) |
|
inlineprotected |
◆ 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/3]
| const ERRORNo & operator= |
( |
const char * | label | ) |
|
Definition at line 41 of file ERRORNo.cc.
42{
43 if (label != nullptr) *this = std::string(label);
44 else *this = Enum::UNKNOWN;
45 return *this;
46}
◆ operator=() [2/3]
| const ERRORNo & operator= |
( |
const std::string & | label | ) |
|
Definition at line 19 of file ERRORNo.cc.
20{
21 if (label == NSMSENDREQ.getLabel()) *this = NSMSENDREQ;
22 else if (label == NSMONLINE.getLabel()) *this = NSMONLINE;
23 else if (label == NSMMEMOPEN.getLabel()) *this = NSMMEMOPEN;
24 else if (label == NSMINIT.getLabel()) *this = NSMINIT;
25 else if (label == DATABASE.getLabel()) *this = DATABASE;
26 else *this = UNKNOWN;
27 return *this;
28}
◆ operator=() [3/3]
| const ERRORNo & operator= |
( |
int | id | ) |
|
Definition at line 30 of file ERRORNo.cc.
31{
32 if (id == NSMSENDREQ.getId()) *this = NSMSENDREQ;
33 else if (id == NSMONLINE.getId()) *this = NSMONLINE;
34 else if (id == NSMMEMOPEN.getId()) *this = NSMMEMOPEN;
35 else if (id == NSMINIT.getId()) *this = NSMINIT;
36 else if (id == DATABASE.getId()) *this = DATABASE;
37 else *this = UNKNOWN;
38 return *this;
39}
◆ DATABASE
◆ m_id
◆ m_label
◆ NSMINIT
◆ NSMMEMOPEN
◆ NSMONLINE
◆ NSMSENDREQ
◆ UNKNOWN
The documentation for this class was generated from the following files: