XRootD
XrdSysError_Table Class Reference

#include <XrdSysError.hh>

+ Collaboration diagram for XrdSysError_Table:

Public Member Functions

 XrdSysError_Table (int base, int last, const char **text)
 
 ~XrdSysError_Table ()
 
char * Lookup (int mnum)
 

Friends

class XrdSysError
 

Detailed Description

Definition at line 45 of file XrdSysError.hh.

Constructor & Destructor Documentation

◆ XrdSysError_Table()

XrdSysError_Table::XrdSysError_Table ( int  base,
int  last,
const char **  text 
)
inline

Definition at line 54 of file XrdSysError.hh.

55  : next(0),
56  base_msgnum(base),
57  last_msgnum(last),
58  msg_text(text) {}

◆ ~XrdSysError_Table()

XrdSysError_Table::~XrdSysError_Table ( )
inline

Definition at line 59 of file XrdSysError.hh.

59 {}

Member Function Documentation

◆ Lookup()

char* XrdSysError_Table::Lookup ( int  mnum)
inline

Definition at line 50 of file XrdSysError.hh.

51  {return (char *)(mnum < base_msgnum || mnum > last_msgnum
52  ? 0 : msg_text[mnum - base_msgnum]);
53  }

Referenced by XrdSysError::ec2text().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

◆ XrdSysError

friend class XrdSysError
friend

Definition at line 48 of file XrdSysError.hh.


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