xrootd
Public Member Functions | Private Attributes | List of all members
XrdCl::XRootDStatus Class Reference

Request status. More...

#include <XrdClXRootDResponses.hh>

Inheritance diagram for XrdCl::XRootDStatus:
Inheritance graph
[legend]
Collaboration diagram for XrdCl::XRootDStatus:
Collaboration graph
[legend]

Public Member Functions

 XRootDStatus (uint16_t st=0, uint16_t code=0, uint32_t errN=0, const std::string &message="")
 Constructor. More...
 
 XRootDStatus (const Status &st, const std::string &message="")
 Constructor. More...
 
const std::string & GetErrorMessage () const
 Get error message. More...
 
void SetErrorMessage (const std::string &message)
 Set the error message. More...
 
std::string ToStr () const
 Convert to string. More...
 
- Public Member Functions inherited from XrdCl::Status
 Status (uint16_t st=stOK, uint16_t cod=errNone, uint32_t errN=0)
 Constructor. 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...
 

Private Attributes

std::string pMessage
 

Additional Inherited Members

- Public Attributes inherited from XrdCl::Status
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...
 

Detailed Description

Request status.

Constructor & Destructor Documentation

◆ XRootDStatus() [1/2]

XrdCl::XRootDStatus::XRootDStatus ( uint16_t  st = 0,
uint16_t  code = 0,
uint32_t  errN = 0,
const std::string &  message = "" 
)
inline

Constructor.

◆ XRootDStatus() [2/2]

XrdCl::XRootDStatus::XRootDStatus ( const Status st,
const std::string &  message = "" 
)
inline

Constructor.

Member Function Documentation

◆ GetErrorMessage()

const std::string& XrdCl::XRootDStatus::GetErrorMessage ( ) const
inline

Get error message.

References pMessage.

Referenced by XrdCl::PropertyList::Set().

◆ SetErrorMessage()

void XrdCl::XRootDStatus::SetErrorMessage ( const std::string &  message)
inline

Set the error message.

References pMessage.

Referenced by XrdCl::PropertyList::Get().

◆ ToStr()

std::string XrdCl::XRootDStatus::ToStr ( ) const
inline

Member Data Documentation

◆ pMessage

std::string XrdCl::XRootDStatus::pMessage
private

The documentation for this class was generated from the following file: