xrootd
Public Member Functions | Private Member Functions | Private Attributes
XrdOucRash Class Reference

#include <XrdOucRash.hh>

Collaboration diagram for XrdOucRash:
Collaboration graph
[legend]

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

Constructor & Destructor Documentation

XrdOucRash::XrdOucRash ( ) [inline]
XrdOucRash::~XrdOucRash ( ) [inline]

Member Function Documentation

V * XrdOucRash::Add ( KeyVal,
V &  KeyData,
time_t  LifeTime = 0,
XrdOucRash_Options  opt = Rash_default 
)
V* XrdOucRash::Apply ( int(*)(K, V, void *)  func,
void *  Arg 
) [inline]
V * XrdOucRash::Apply ( XrdOucRash_Tent< K, V > *  tab,
int(*)(K, V, void *)  func,
void *  Arg 
) [private]
int XrdOucRash::Del ( KeyVal)
V * XrdOucRash::Find ( KeyVal,
time_t *  KeyTime = 0 
)
void XrdOucRash::Insert ( theKey,
XrdOucRash_Item< K, V > *  theItem 
) [private]
unsigned long long XrdOucRash::key2ull ( theKey) [private]
XrdOucRash_Item< K, V > * XrdOucRash::Lookup ( theKey,
XrdOucRash_Tent< K, V > **  tloc 
) [private]

References XrdOucRash_Tent::Item.

int XrdOucRash::Num ( ) [inline]
void XrdOucRash::Purge ( )
V* XrdOucRash::Rep ( KeyVal,
V &  KeyData,
const int  LifeTime = 0,
XrdOucRash_Options  opt = Rash_default 
) [inline]

Member Data Documentation

int XrdOucRash::rashnum [private]

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