XrdCnsXref Class Reference

#include <XrdCnsXref.hh>

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


Detailed Description

Definition at line 18 of file XrdCnsXref.hh.


Constructor & Destructor Documentation

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

Definition at line 29 of file XrdCnsXref.cc.

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

XrdCnsXref::~XrdCnsXref (  ) 

Definition at line 41 of file XrdCnsXref.cc.

References free(), i, yTable, and yTSize.


Member Function Documentation

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

Definition at line 52 of file XrdCnsXref.cc.

References XrdOucHash< T >::Add(), availI(), c2i(), XrdOucHash< T >::Del(), XrdOucHash< T >::Find(), free(), Hash_keep, i, isMT, j, XrdOucHash< T >::Rep(), xIndex, xMutex, xTable, and yTable.

Referenced by XrdCnsSsi::AddFile(), Default(), and XrdCnsInventory::Xref().

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

Definition at line 25 of file XrdCnsXref.hh.

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

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

Definition at line 85 of file XrdCnsXref.cc.

References Add(), and xIndex.

Referenced by XrdCnsSsi::AddFile(), XrdCnsInventory::XrdCnsInventory(), and XrdCnsXref().

char * XrdCnsXref::Key ( char  xref  ) 

Definition at line 94 of file XrdCnsXref.cc.

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

Referenced by XrdCnsInventory::Init().

char XrdCnsXref::Find ( const char *  xref  ) 

Definition at line 107 of file XrdCnsXref.cc.

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

Referenced by XrdCnsInventory::Xref().

int XrdCnsXref::availI (  )  [private]

Definition at line 122 of file XrdCnsXref.cc.

References availIdx, yTable, and yTSize.

Referenced by Add().

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

Definition at line 136 of file XrdCnsXref.cc.

References n.

Referenced by Add(), and Key().


Member Data Documentation

XrdSysMutex XrdCnsXref::xMutex [private]

Definition at line 41 of file XrdCnsXref.hh.

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

XrdOucHash<char> XrdCnsXref::xTable [private]

Definition at line 42 of file XrdCnsXref.hh.

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

char * XrdCnsXref::xIndex [static, private]

Definition at line 43 of file XrdCnsXref.hh.

Referenced by Add(), and Default().

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

Definition at line 45 of file XrdCnsXref.hh.

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

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

Definition at line 46 of file XrdCnsXref.hh.

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

int XrdCnsXref::availIdx [private]

Definition at line 47 of file XrdCnsXref.hh.

Referenced by availI(), and XrdCnsXref().

int XrdCnsXref::isMT [private]

Definition at line 48 of file XrdCnsXref.hh.

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


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:50:27 2011 for ROOT_528-00b_version by  doxygen 1.5.1