xrootd
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
XrdClientVector< T > Class Template Reference

#include <XrdClientVector.hh>

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

Classes

struct  myindex
 

Public Member Functions

int GetSize () const
 
void Clear ()
 
 XrdClientVector (int cap=-1)
 
 XrdClientVector (XrdClientVector &v)
 
 ~XrdClientVector ()
 
void Resize (int newsize)
 
void Push_back (T &item)
 
void Insert (T &item, int pos)
 
void Erase (unsigned int pos, bool dontrealloc=true)
 
Pop_back ()
 
Pop_front ()
 
T & At (int pos)
 
T & operator[] (int pos)
 

Private Member Functions

int BufRealloc (int newsize)
 
void Init (int cap=-1)
 
void DestroyElem (myindex *el)
 
void put (T &item, long pos)
 

Private Attributes

int sizeof_t
 
char * rawdata
 
struct XrdClientVector::myindexindex
 
int holecount
 
long size
 
long mincap
 
long capacity
 
long maxsize
 

Constructor & Destructor Documentation

template<class T>
XrdClientVector< T >::XrdClientVector ( int  cap = -1)
inline
template<class T>
XrdClientVector< T >::XrdClientVector ( XrdClientVector< T > &  v)
inline
template<class T>
XrdClientVector< T >::~XrdClientVector ( )
inline

Member Function Documentation

template<class T>
T& XrdClientVector< T >::At ( int  pos)
inline
template<class T >
int XrdClientVector< T >::BufRealloc ( int  newsize)
private
template<class T>
void XrdClientVector< T >::Clear ( )
inline
template<class T>
void XrdClientVector< T >::DestroyElem ( myindex el)
inlineprivate
template<class T>
void XrdClientVector< T >::Erase ( unsigned int  pos,
bool  dontrealloc = true 
)
inline
template<class T>
int XrdClientVector< T >::GetSize ( ) const
inline
template<class T>
void XrdClientVector< T >::Init ( int  cap = -1)
inlineprivate
template<class T>
void XrdClientVector< T >::Insert ( T &  item,
int  pos 
)
inline
template<class T>
T& XrdClientVector< T >::operator[] ( int  pos)
inline
template<class T>
T XrdClientVector< T >::Pop_back ( )
inline
template<class T>
T XrdClientVector< T >::Pop_front ( )
inline
template<class T>
void XrdClientVector< T >::Push_back ( T &  item)
inline
template<class T>
void XrdClientVector< T >::put ( T &  item,
long  pos 
)
inlineprivate
template<class T>
void XrdClientVector< T >::Resize ( int  newsize)
inline

Member Data Documentation

template<class T>
long XrdClientVector< T >::capacity
private
template<class T>
int XrdClientVector< T >::holecount
private
template<class T>
struct XrdClientVector::myindex * XrdClientVector< T >::index
private
template<class T>
long XrdClientVector< T >::maxsize
private
template<class T>
long XrdClientVector< T >::mincap
private
template<class T>
char* XrdClientVector< T >::rawdata
private
template<class T>
long XrdClientVector< T >::size
private
template<class T>
int XrdClientVector< T >::sizeof_t
private

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