xrootd
|
#include <XrdOucTable.hh>
Classes | |
struct | OucTable |
Public Member Functions | |
XrdOucTable (int maxe) | |
~XrdOucTable () | |
int | Alloc () |
T * | Apply (int(*func)(T *, void *), void *Arg, int Start=0) |
void | Delete (int Tnum) |
void | Delete (const char *key) |
T * | Find (const char *key, int *Tnum=0) |
int | Insert (T *Item, const char *key=0, int Tnum=-1) |
T * | Item (int Tnum, char **ikey=0) |
int | Next (int &Tnum) |
T * | Remove (int Tnum) |
T * | Remove (const char *key) |
Private Attributes | |
OucTable * | Table |
int | avlnum |
int | maxnum |
int | curnum |
XrdOucTable< T >::XrdOucTable | ( | int | maxe | ) | [inline] |
XrdOucTable< T >::~XrdOucTable | ( | ) | [inline] |
int XrdOucTable< T >::Alloc | ( | ) | [inline] |
Referenced by XrdOucTable< XrdXrootdJob2Do >::Insert(), and XrdXrootdJob::Schedule().
T* XrdOucTable< T >::Apply | ( | int(*)(T *, void *) | func, |
void * | Arg, | ||
int | Start = 0 |
||
) | [inline] |
Referenced by XrdXrootdJob2Do::Redrive().
void XrdOucTable< T >::Delete | ( | const char * | key | ) | [inline] |
void XrdOucTable< T >::Delete | ( | int | Tnum | ) | [inline] |
T* XrdOucTable< T >::Find | ( | const char * | key, |
int * | Tnum = 0 |
||
) | [inline] |
Referenced by XrdXrootdJob::Cancel(), XrdOucTable< XrdXrootdJob2Do >::Remove(), and XrdXrootdJob::Schedule().
int XrdOucTable< T >::Insert | ( | T * | Item, |
const char * | key = 0 , |
||
int | Tnum = -1 |
||
) | [inline] |
Referenced by XrdXrootdJob::Schedule().
T* XrdOucTable< T >::Item | ( | int | Tnum, |
char ** | ikey = 0 |
||
) | [inline] |
Referenced by XrdOucTable< XrdXrootdJob2Do >::Apply(), XrdXrootdJob::Cancel(), XrdXrootdJob::DoIt(), XrdOucTable< XrdXrootdJob2Do >::Find(), XrdOucTable< XrdXrootdJob2Do >::Insert(), XrdOucTable< XrdXrootdJob2Do >::Item(), XrdXrootdJob::List(), XrdOucTable< XrdXrootdJob2Do >::Next(), and XrdOucTable< XrdXrootdJob2Do >::Remove().
int XrdOucTable< T >::Next | ( | int & | Tnum | ) | [inline] |
Referenced by XrdXrootdJob::Cancel(), XrdXrootdJob::DoIt(), and XrdXrootdJob::List().
T* XrdOucTable< T >::Remove | ( | const char * | key | ) | [inline] |
T* XrdOucTable< T >::Remove | ( | int | Tnum | ) | [inline] |
int XrdOucTable< T >::avlnum [private] |
int XrdOucTable< T >::curnum [private] |
Referenced by XrdOucTable< XrdXrootdJob2Do >::Alloc(), XrdOucTable< XrdXrootdJob2Do >::Apply(), XrdOucTable< XrdXrootdJob2Do >::Find(), XrdOucTable< XrdXrootdJob2Do >::Item(), XrdOucTable< XrdXrootdJob2Do >::Next(), XrdOucTable< XrdXrootdJob2Do >::Remove(), and XrdOucTable< XrdXrootdJob2Do >::XrdOucTable().
int XrdOucTable< T >::maxnum [private] |
OucTable* XrdOucTable< T >::Table [private] |
Referenced by XrdOucTable< XrdXrootdJob2Do >::Alloc(), XrdOucTable< XrdXrootdJob2Do >::Apply(), XrdOucTable< XrdXrootdJob2Do >::Find(), XrdOucTable< XrdXrootdJob2Do >::Insert(), XrdOucTable< XrdXrootdJob2Do >::Item(), XrdOucTable< XrdXrootdJob2Do >::Next(), XrdOucTable< XrdXrootdJob2Do >::Remove(), XrdOucTable< XrdXrootdJob2Do >::XrdOucTable(), and XrdOucTable< XrdXrootdJob2Do >::~XrdOucTable().