xrootd
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

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

Member Function Documentation

template<class T >
int XrdOucTable< T >::Alloc ( )
inline
template<class T >
T* XrdOucTable< T >::Apply ( int(*)(T *, void *)  func,
void *  Arg,
int  Start = 0 
)
inline
template<class T >
void XrdOucTable< T >::Delete ( int  Tnum)
inline
template<class T >
void XrdOucTable< T >::Delete ( const char *  key)
inline
template<class T >
T* XrdOucTable< T >::Find ( const char *  key,
int *  Tnum = 0 
)
inline
template<class T >
int XrdOucTable< T >::Insert ( T *  Item,
const char *  key = 0,
int  Tnum = -1 
)
inline
template<class T >
T* XrdOucTable< T >::Item ( int  Tnum,
char **  ikey = 0 
)
inline
template<class T >
int XrdOucTable< T >::Next ( int &  Tnum)
inline
template<class T >
T* XrdOucTable< T >::Remove ( int  Tnum)
inline
template<class T >
T* XrdOucTable< T >::Remove ( const char *  key)
inline

Member Data Documentation

template<class T >
int XrdOucTable< T >::avlnum
private
template<class T >
int XrdOucTable< T >::curnum
private
template<class T >
int XrdOucTable< T >::maxnum
private
template<class T >
OucTable* XrdOucTable< T >::Table
private

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