Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

XrdOucRash< K, V > Class Template Reference

#include <XrdOucRash.hh>

List of all members.

Public Member Functions

V * Add (K KeyVal, V &KeyData, time_t LifeTime=0, XrdOucRash_Options opt=Rash_default)
int Del (K KeyVal)
V * Find (K KeyVal, time_t *KeyTime=0)
int Num ()
void Purge ()
V * Rep (K KeyVal, V &KeyData, const int LifeTime=0, XrdOucRash_Options opt=Rash_default)
V * Apply (int(*func)(K, V, void *), void *Arg)
 XrdOucRash ()
 ~XrdOucRash ()

Private Member Functions

V * Apply (XrdOucRash_Tent< K, V > *tab, int(*func)(K, V, void *), void *Arg)
XrdOucRash_Item< K, V > * Lookup (K theKey, XrdOucRash_Tent< K, V > **tloc)
void Insert (K theKey, XrdOucRash_Item< K, V > *theItem)
unsigned long long key2ull (K theKey)

Private Attributes

XrdOucRash_Tent< K, V > rashTable [16]
int rashnum

template<typename K, typename V>
class XrdOucRash< K, V >


Constructor & Destructor Documentation

template<typename K, typename V>
XrdOucRash< K, V >::XrdOucRash  )  [inline]
 

template<typename K, typename V>
XrdOucRash< K, V >::~XrdOucRash  )  [inline]
 


Member Function Documentation

template<typename K, typename V>
V * XrdOucRash< K, V >::Add KeyVal,
V &  KeyData,
time_t  LifeTime = 0,
XrdOucRash_Options  opt = Rash_default
 

template<typename K, typename V>
V * XrdOucRash< K, V >::Apply XrdOucRash_Tent< K, V > *  tab,
int(*)(K, V, void *)  func,
void *  Arg
[private]
 

template<typename K, typename V>
V* XrdOucRash< K, V >::Apply int(*)(K, V, void *)  func,
void *  Arg
[inline]
 

template<typename K, typename V>
int XrdOucRash< K, V >::Del KeyVal  ) 
 

template<typename K, typename V>
V * XrdOucRash< K, V >::Find KeyVal,
time_t *  KeyTime = 0
 

template<typename K, typename V>
void XrdOucRash< K, V >::Insert theKey,
XrdOucRash_Item< K, V > *  theItem
[private]
 

template<typename K, typename V>
unsigned long long XrdOucRash< K, V >::key2ull theKey  )  [private]
 

template<typename K, typename V>
XrdOucRash_Item< K, V > * XrdOucRash< K, V >::Lookup theKey,
XrdOucRash_Tent< K, V > **  tloc
[private]
 

template<typename K, typename V>
int XrdOucRash< K, V >::Num  )  [inline]
 

template<typename K, typename V>
void XrdOucRash< K, V >::Purge  ) 
 

template<typename K, typename V>
V* XrdOucRash< K, V >::Rep KeyVal,
V &  KeyData,
const int  LifeTime = 0,
XrdOucRash_Options  opt = Rash_default
[inline]
 


Member Data Documentation

template<typename K, typename V>
int XrdOucRash< K, V >::rashnum [private]
 

template<typename K, typename V>
XrdOucRash_Tent<K,V> XrdOucRash< K, V >::rashTable[16] [private]
 


The documentation for this class was generated from the following files:
Generated on Sun Nov 6 13:37:12 2011 for xrootd by  doxygen 1.3.9.1