Procedure execution status. More...
#include <XrdClStatus.hh>
Public Member Functions | |
Status (uint16_t st=stOK, uint16_t cod=errNone, uint32_t errN=0) | |
Constructor. | |
bool | IsError () const |
Error. | |
bool | IsFatal () const |
Fatal error. | |
bool | IsOK () const |
We're fine. | |
int | GetShellCode () const |
Get the status code that may be returned to the shell. | |
std::string | ToString () const |
Create a string representation. | |
Public Attributes | |
uint16_t | status |
Status of the execution. | |
uint16_t | code |
Error type, or additional hints on what to do. | |
uint32_t | errNo |
Errno, if any. |
Procedure execution status.
Constructor.
int XrdCl::Status::GetShellCode | ( | ) | const [inline] |
bool XrdCl::Status::IsError | ( | ) | const [inline] |
Error.
References status, and XrdCl::stError.
bool XrdCl::Status::IsFatal | ( | ) | const [inline] |
Fatal error.
References status, and XrdCl::stFatal.
bool XrdCl::Status::IsOK | ( | ) | const [inline] |
We're fine.
References status, and XrdCl::stOK.
Referenced by GetShellCode(), XrdCl::FutureWrapper< void >::HandleResponse(), XrdCl::FutureWrapper< Response >::HandleResponse(), XrdCl::ExOpenFuncWrapper::HandleResponse(), XrdCl::TaskWrapper< Response, Return >::HandleResponse(), XrdCl::FunctionWrapper< ResponseType >::HandleResponse(), XrdCl::Operation< HasHndl >::Run(), XrdCl::ParallelOperation< HasHndl >::RunImpl(), and XrdCl::MessageUtils::WaitForResponse().
std::string XrdCl::Status::ToString | ( | ) | const |
Create a string representation.
Referenced by XrdCl::XRootDStatus::ToStr(), and XrdCl::PipelineException::what().
uint16_t XrdCl::Status::code |
Error type, or additional hints on what to do.
Referenced by GetShellCode(), and XrdCl::XRootDStatus::ToStr().
uint32_t XrdCl::Status::errNo |
Errno, if any.
Referenced by XrdCl::XRootDStatus::ToStr().
uint16_t XrdCl::Status::status |