#include <ErrorCode.hpp>
Public Methods | |
| ErrorCode () | |
| ErrorCode (const ErrorCode &src) | |
| ErrorCode (const ErrorCodeValue val) | |
| virtual | ~ErrorCode () |
| ErrorCode & | operator= (const ErrorCode &right) |
| bool | operator!= (const ErrorCode &right) const |
| bool | operator== (const ErrorCode &right) const |
Private Attributes | |
| ErrorCodeValue | err |
| bool * | PboResp |
|
|
Definition at line 11 of file ErrorCode.cpp. |
|
|
Definition at line 17 of file ErrorCode.cpp. |
|
|
Definition at line 29 of file ErrorCode.cpp. |
|
|
Definition at line 35 of file ErrorCode.cpp. 00037 {
00038
00039 if ( *PboResp ) {
00040
00041 cerr << "Destruction of untested error code: value " << err << endl;
00042
00043 }
00044
00045
00046
00047 delete PboResp;
00048
00049 }
|
|
|
Definition at line 79 of file ErrorCode.cpp. |
|
|
Definition at line 53 of file ErrorCode.cpp. 00055 {
00056
00057 if (*PboResp)
00058
00059 cerr << "Untested error code (value " << err
00060
00061 << ") erased by new value " << right.err << endl;
00062
00063
00064
00065 err = right.err;
00066
00067 *PboResp = *right.PboResp;
00068
00069 *right.PboResp = FALSE;
00070
00071
00072
00073 return *this;
00074
00075 }
|
|
|
Definition at line 49 of file ErrorCode.hpp. 00049 {
00050
00051 return !(*this != right);
00052
00053 };
|
|
|
Definition at line 61 of file ErrorCode.hpp. Referenced by operator!=(), and operator=().
|
|
|
Definition at line 59 of file ErrorCode.hpp. Referenced by operator!=(), and operator=().
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001