xrootd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
XrdCnsXref Class Reference

#include <XrdCnsXref.hh>

Collaboration diagram for XrdCnsXref:
Collaboration graph
[legend]

Public Member Functions

char Add (const char *Key, char xref=0)
 
char * Apply (int(*func)(const char *, char *, void *), void *Arg)
 
char Default (const char *Dflt=0)
 
char * Key (char xref)
 
char Find (const char *xref)
 
 XrdCnsXref (const char *Dflt=0, int MTProt=1)
 
 ~XrdCnsXref ()
 

Private Member Functions

int availI ()
 
int c2i (char xCode)
 

Private Attributes

XrdSysMutex xMutex
 
XrdOucHash< char > xTable
 
char * yTable [yTSize]
 
int availIdx
 
int isMT
 

Static Private Attributes

static char * xIndex
 
static const int yTSize = '~'-'0'+1
 

Constructor & Destructor Documentation

XrdCnsXref::XrdCnsXref ( const char *  Dflt = 0,
int  MTProt = 1 
)
XrdCnsXref::~XrdCnsXref ( )

Member Function Documentation

char XrdCnsXref::Add ( const char *  Key,
char  xref = 0 
)
char* XrdCnsXref::Apply ( int(*)(const char *, char *, void *)  func,
void *  Arg 
)
inline

References XrdOucHash< T >::Apply(), and xTable.

int XrdCnsXref::availI ( )
private
int XrdCnsXref::c2i ( char  xCode)
private
char XrdCnsXref::Default ( const char *  Dflt = 0)
char XrdCnsXref::Find ( const char *  xref)
char* XrdCnsXref::Key ( char  xref)

Member Data Documentation

int XrdCnsXref::availIdx
private
int XrdCnsXref::isMT
private
char* XrdCnsXref::xIndex
staticprivate
XrdSysMutex XrdCnsXref::xMutex
private
XrdOucHash<char> XrdCnsXref::xTable
private

Referenced by Apply().

char* XrdCnsXref::yTable[yTSize]
private
const int XrdCnsXref::yTSize = '~'-'0'+1
staticprivate

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