#include <CTCPNoSuchService.h>
Public Member Functions | |
CTCPNoSuchService (const STD(string)&service, const STD(string)&Doing) | |
CTCPNoSuchService (const CTCPNoSuchService &rhs) | |
Copy Constructor. | |
virtual | ~CTCPNoSuchService () |
Destructor. | |
CTCPNoSuchService & | operator= (const CTCPNoSuchService &rhs) |
int | operator== (const CTCPNoSuchService &rhs) |
STD (string) getService() const | |
< Return service name. | |
virtual const char * | ReasonText () const |
Protected Member Functions | |
void | setService (const STD(string)&newVal) |
Private Member Functions | |
STD (string) m_Service | |
cached value of service. | |
STD (string) m_Reason | |
Where the reason text is built up. |
Definition at line 311 of file CTCPNoSuchService.h.
|
|
|
Copy Constructor. Copy constructor: Creates an object given a reference object. Used by the language to produce temporaries for .e.g. call by value and return by value function interactions.
Definition at line 326 of file CTCPNoSuchService.cpp. |
|
Destructor.
Definition at line 322 of file CTCPNoSuchService.h. |
|
Assignment. Assign *this to a rhs object. Different from copy construction in that:
Definition at line 342 of file CTCPNoSuchService.cpp. |
|
Equality compare.. This is a field by field compare of the important elements Note that the m_Reason member is unimportant to the compare.
Definition at line 357 of file CTCPNoSuchService.cpp. |
|
Returns the reason for the exception. This is a string which is built up from CErrno::ReasonText and other information we have it is of the form: "Unable to translate service [m_Service] becuase: [CErrno::ReasonText()]" Definition at line 371 of file CTCPNoSuchService.cpp. |
|
Definition at line 336 of file CTCPNoSuchService.h. |
|
< Return service name.
Definition at line 330 of file CTCPNoSuchService.h. |
|
Where the reason text is built up.
|
|
cached value of service.
|