xrootd
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::XrdCnsXref ( const char *  Dflt = 0,
int  MTProt = 1 
)

◆ ~XrdCnsXref()

XrdCnsXref::~XrdCnsXref ( )

Member Function Documentation

◆ Add()

char XrdCnsXref::Add ( const char *  Key,
char  xref = 0 
)

◆ Apply()

char* XrdCnsXref::Apply ( int(*)(const char *, char *, void *)  func,
void *  Arg 
)
inline

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

◆ availI()

int XrdCnsXref::availI ( )
private

◆ c2i()

int XrdCnsXref::c2i ( char  xCode)
private

◆ Default()

char XrdCnsXref::Default ( const char *  Dflt = 0)

◆ Find()

char XrdCnsXref::Find ( const char *  xref)

◆ Key()

char* XrdCnsXref::Key ( char  xref)

Member Data Documentation

◆ availIdx

int XrdCnsXref::availIdx
private

◆ isMT

int XrdCnsXref::isMT
private

◆ xIndex

char* XrdCnsXref::xIndex
staticprivate

◆ xMutex

XrdSysMutex XrdCnsXref::xMutex
private

◆ xTable

XrdOucHash<char> XrdCnsXref::xTable
private

Referenced by Apply().

◆ yTable

char* XrdCnsXref::yTable[yTSize]
private

◆ yTSize

const int XrdCnsXref::yTSize = '~'-'0'+1
staticprivate

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