#include <XrdOucHash.hh>
Public Member Functions | |
XrdOucHash (int psize=89, int size=144, int load=80) | |
~XrdOucHash () | |
T * | Add (const char *KeyVal, T *KeyData, const int LifeTime=0, XrdOucHash_Options opt=Hash_default) |
T * | Apply (int(*func)(const char *, T *, void *), void *Arg) |
int | Del (const char *KeyVal, XrdOucHash_Options opt=Hash_default) |
T * | Find (const char *KeyVal, time_t *KeyTime=0) |
int | Num () |
void | Purge () |
T * | Rep (const char *KeyVal, T *KeyData, const int LifeTime=0, XrdOucHash_Options opt=Hash_default) |
Definition at line 127 of file XrdOucHash.hh.
XrdOucHash< T >::XrdOucHash | ( | int | psize = 89, |
int | size = 144, | ||
int | load = 80 ) |
Definition at line 44 of file XrdOucHash.icc.
|
inline |
Definition at line 186 of file XrdOucHash.hh.
References Purge().
T * XrdOucHash< T >::Add | ( | const char * | KeyVal, |
T * | KeyData, | ||
const int | LifeTime = 0, | ||
XrdOucHash_Options | opt = Hash_default ) |
Definition at line 61 of file XrdOucHash.icc.
References XrdOucHash_Item< T >::Count(), XrdOucHash_Item< T >::Data(), Hash_count, Hash_replace, XrdOucHash_Item< T >::Time(), XrdOucHash_Item< T >::Update(), and XrdOucHashVal().
Referenced by XrdAccGroups::AddName(), XrdCryptoFactory::GetCryptoFactory(), Rep(), and XrdOssSys::Stage_QT().
T * XrdOucHash< T >::Apply | ( | int(* | func )(const char *, T *, void *), |
void * | Arg ) |
Definition at line 102 of file XrdOucHash.icc.
References XrdOucHash_Item< T >::Data(), XrdOucHash_Item< T >::Key(), XrdOucHash_Item< T >::Next(), XrdOucHash_Item< T >::SetNext(), and XrdOucHash_Item< T >::Time().
Referenced by XrdOssSys::Stage_QT().
int XrdOucHash< T >::Del | ( | const char * | KeyVal, |
XrdOucHash_Options | opt = Hash_default ) |
Definition at line 136 of file XrdOucHash.icc.
References XrdOucHashVal().
T * XrdOucHash< T >::Find | ( | const char * | KeyVal, |
time_t * | KeyTime = 0 ) |
Definition at line 160 of file XrdOucHash.icc.
Referenced by XrdAccGroups::AddName(), XrdAccGroups::FindName(), and XrdCryptoFactory::GetCryptoFactory().
|
inline |
Definition at line 158 of file XrdOucHash.hh.
Referenced by XrdAccConfig::ConfigDB().
void XrdOucHash< T >::Purge | ( | ) |
Definition at line 193 of file XrdOucHash.icc.
References XrdOucHash_Item< T >::Next().
Referenced by ~XrdOucHash().
|
inline |
Definition at line 166 of file XrdOucHash.hh.
References Add(), Hash_default, and Hash_replace.