Request status. More...
#include <XrdClXRootDResponses.hh>
Public Member Functions | |
XRootDStatus (uint16_t st=0, uint16_t cod=0, uint32_t errN=0, const std::string &message="") | |
Constructor. | |
XRootDStatus (const Status &st, const std::string &message="") | |
Constructor. | |
const std::string & | GetErrorMessage () const |
Get error message. | |
void | SetErrorMessage (const std::string &message) |
Set the error message. | |
std::string | ToStr () const |
Convert to string. | |
Private Attributes | |
std::string | pMessage |
Request status.
XrdCl::XRootDStatus::XRootDStatus | ( | uint16_t | st = 0 , |
|
uint16_t | cod = 0 , |
|||
uint32_t | errN = 0 , |
|||
const std::string & | message = "" | |||
) | [inline] |
Constructor.
XrdCl::XRootDStatus::XRootDStatus | ( | const Status & | st, | |
const std::string & | message = "" | |||
) | [inline] |
Constructor.
const std::string& XrdCl::XRootDStatus::GetErrorMessage | ( | ) | const [inline] |
Get error message.
References pMessage.
void XrdCl::XRootDStatus::SetErrorMessage | ( | const std::string & | message | ) | [inline] |
Set the error message.
References pMessage.
std::string XrdCl::XRootDStatus::ToStr | ( | ) | const [inline] |
Convert to string.
References XrdCl::Status::code, XrdCl::errErrorResponse, XrdCl::Status::errNo, pMessage, and XrdCl::Status::ToString().
std::string XrdCl::XRootDStatus::pMessage [private] |
Referenced by GetErrorMessage(), SetErrorMessage(), and ToStr().