xrootd
Loading...
Searching...
No Matches
Classes | Public Member Functions | Private Attributes | List of all members
XrdOucTable< T > Class Template Reference

#include <XrdOucTable.hh>

Collaboration diagram for XrdOucTable< T >:
Collaboration graph
[legend]

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

OucTableTable
 
int avlnum
 
int maxnum
 
int curnum
 

Constructor & Destructor Documentation

◆ XrdOucTable()

template<class T >
XrdOucTable< T >::XrdOucTable ( int  maxe)
inline

◆ ~XrdOucTable()

template<class T >
XrdOucTable< T >::~XrdOucTable ( )
inline

Member Function Documentation

◆ Alloc()

template<class T >
int XrdOucTable< T >::Alloc ( )
inline

◆ Apply()

template<class T >
T * XrdOucTable< T >::Apply ( int(*)(T *, void *)  func,
void *  Arg,
int  Start = 0 
)
inline

◆ Delete() [1/2]

template<class T >
void XrdOucTable< T >::Delete ( const char *  key)
inline

◆ Delete() [2/2]

template<class T >
void XrdOucTable< T >::Delete ( int  Tnum)
inline

◆ Find()

template<class T >
T * XrdOucTable< T >::Find ( const char *  key,
int *  Tnum = 0 
)
inline

◆ Insert()

template<class T >
int XrdOucTable< T >::Insert ( T *  Item,
const char *  key = 0,
int  Tnum = -1 
)
inline

◆ Item()

template<class T >
T * XrdOucTable< T >::Item ( int  Tnum,
char **  ikey = 0 
)
inline

◆ Next()

template<class T >
int XrdOucTable< T >::Next ( int &  Tnum)
inline

◆ Remove() [1/2]

template<class T >
T * XrdOucTable< T >::Remove ( const char *  key)
inline

◆ Remove() [2/2]

template<class T >
T * XrdOucTable< T >::Remove ( int  Tnum)
inline

Member Data Documentation

◆ avlnum

template<class T >
int XrdOucTable< T >::avlnum
private

◆ curnum

template<class T >
int XrdOucTable< T >::curnum
private

◆ maxnum

template<class T >
int XrdOucTable< T >::maxnum
private

◆ Table

template<class T >
OucTable* XrdOucTable< T >::Table
private

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