xrootd
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
XrdCnsXref Class Reference

#include <XrdCnsXref.hh>

Collaboration diagram for XrdCnsXref:
Collaboration graph
[legend]

List of all members.

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 = "abcdefghijklmnopqrstuvwxyz{|}~"
static const int yTSize = '~'-'0'+1

Constructor & Destructor Documentation

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

References availIdx, Default(), isMT, and yTable.

XrdCnsXref::~XrdCnsXref ( )

References yTable, and yTSize.


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.

Referenced by XrdCnsSsi::Updt().

int XrdCnsXref::availI ( ) [private]

References availIdx, yTable, and yTSize.

Referenced by Add().

int XrdCnsXref::c2i ( char  xCode) [private]

Referenced by Add(), and Key().

char XrdCnsXref::Default ( const char *  Dflt = 0)
char XrdCnsXref::Find ( const char *  xref)
char * XrdCnsXref::Key ( char  xref)

References c2i(), isMT, xMutex, and yTable.

Referenced by XrdCnsInventory::Init(), and XrdCnsSsi::List().


Member Data Documentation

int XrdCnsXref::availIdx [private]

Referenced by availI(), and XrdCnsXref().

int XrdCnsXref::isMT [private]

Referenced by Add(), Find(), Key(), and XrdCnsXref().

char * XrdCnsXref::xIndex = "abcdefghijklmnopqrstuvwxyz{|}~" [static, private]

Referenced by Add(), and Default().

Referenced by Add(), Find(), and Key().

XrdOucHash<char> XrdCnsXref::xTable [private]

Referenced by Add(), Apply(), and Find().

char* XrdCnsXref::yTable[yTSize] [private]

Referenced by Add(), availI(), Key(), XrdCnsXref(), and ~XrdCnsXref().

const int XrdCnsXref::yTSize = '~'-'0'+1 [static, private]

Referenced by availI(), and ~XrdCnsXref().


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