xrootd
|
Procedure execution status. More...
#include <XrdClStatus.hh>
Public Member Functions | |
Status (uint16_t st=stOK, uint16_t cod=errNone, uint32_t errN=0) | |
Constructor. More... | |
bool | IsError () const |
Error. More... | |
bool | IsFatal () const |
Fatal error. More... | |
bool | IsOK () const |
We're fine. More... | |
int | GetShellCode () const |
Get the status code that may be returned to the shell. More... | |
std::string | ToString () const |
Create a string representation. More... | |
Public Attributes | |
uint16_t | status |
Status of the execution. More... | |
uint16_t | code |
Error type, or additional hints on what to do. More... | |
uint32_t | errNo |
Errno, if any. More... | |
Procedure execution status.
Constructor.
|
inline |
Get the status code that may be returned to the shell.
References code, IsOK(), and ToString().
|
inline |
Error.
References status, and XrdCl::stError.
|
inline |
Fatal error.
References status, and XrdCl::stFatal.
|
inline |
std::string XrdCl::Status::ToString | ( | ) | const |
Create a string representation.
Referenced by GetShellCode().
uint16_t XrdCl::Status::code |
Error type, or additional hints on what to do.
Referenced by GetShellCode().
uint32_t XrdCl::Status::errNo |
Errno, if any.
uint16_t XrdCl::Status::status |