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 >
template<typename K , typename V >
Member Function Documentation
template<typename K , typename V >
template<typename K , typename V >
template<typename K , typename V >
V* XrdOucRash< K, V >::Apply |
( |
int(*)(K, V, void *) |
func, |
|
|
void * |
Arg | |
|
) |
| | [inline] |
template<typename K , typename V >
template<typename K , typename V >
V* XrdOucRash< K, V >::Find |
( |
K |
KeyVal, |
|
|
time_t * |
KeyTime = 0 | |
|
) |
| | |
template<typename K , typename V >
template<typename K , typename V >
unsigned long long XrdOucRash< K, V >::key2ull |
( |
K |
theKey |
) |
[private] |
template<typename K , typename V >
template<typename K , typename V >
template<typename K , typename V >
template<typename K , typename V >
Member Data Documentation
template<typename K , typename V >
template<typename K , typename V >
The documentation for this class was generated from the following file: