xrootd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
XrdHttpReadRangeHandler::Error Struct Reference

#include <XrdHttpReadRangeHandler.hh>

Public Member Functions

 operator bool () const
 
void set (int rc, const std::string &m)
 
void reset ()
 

Public Attributes

bool errSet false
 
int httpRetCode {0}
 
std::string errMsg
 

Detailed Description

Error structure for storing error codes and message. operator bool() can be used to query if a value is set.

Member Function Documentation

XrdHttpReadRangeHandler::Error::operator bool ( ) const
inlineexplicit
void XrdHttpReadRangeHandler::Error::reset ( )
inline

References errMsg, and httpRetCode.

void XrdHttpReadRangeHandler::Error::set ( int  rc,
const std::string &  m 
)
inline

References errMsg, and httpRetCode.

Member Data Documentation

std::string XrdHttpReadRangeHandler::Error::errMsg

Referenced by reset(), and set().

bool errSet XrdHttpReadRangeHandler::Error::false
int XrdHttpReadRangeHandler::Error::httpRetCode {0}

Referenced by reset(), and set().


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