XrdCl::Status Struct Reference

Procedure execution status. More...

#include <XrdClStatus.hh>

Inheritance diagram for XrdCl::Status:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

Procedure execution status.


Constructor & Destructor Documentation

XrdCl::Status::Status ( uint16_t  st = stOK,
uint16_t  cod = errNone,
uint32_t  errN = 0 
) [inline]

Constructor.


Member Function Documentation

int XrdCl::Status::GetShellCode (  )  const [inline]

Get the status code that may be returned to the shell.

References code, and IsOK().

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]
std::string XrdCl::Status::ToString (  )  const

Create a string representation.

Referenced by XrdCl::XRootDStatus::ToStr(), and XrdCl::PipelineException::what().


Member Data Documentation

Error type, or additional hints on what to do.

Referenced by GetShellCode(), and XrdCl::XRootDStatus::ToStr().

Errno, if any.

Referenced by XrdCl::XRootDStatus::ToStr().

Status of the execution.

Referenced by IsError(), IsFatal(), and IsOK().


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 17 Dec 2019 for xrootd by  doxygen 1.6.1