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 yTable, isMT, Default(), and availIdx.

XrdCnsXref::~XrdCnsXref ( )

References yTSize, and yTable.


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 xTable, and XrdOucHash::Apply().

Referenced by XrdCnsSsi::Updt().

int XrdCnsXref::availI ( ) [private]

References availIdx, yTSize, and yTable.

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)

References isMT, xMutex, xTable, and XrdOucHash::Find().

Referenced by XrdCnsInventory::Xref().

char * XrdCnsXref::Key ( char  xref)

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

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


Member Data Documentation

int XrdCnsXref::availIdx [private]

Referenced by XrdCnsXref(), and availI().

int XrdCnsXref::isMT [private]

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

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

Referenced by Add(), and Default().

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

XrdOucHash<char> XrdCnsXref::xTable [private]

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

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

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

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

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


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