Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
XrdClientVector< T > Class Template Reference

template<class T>
class XrdClientVector< T >

Definition at line 49 of file XrdClientVector.hh.

Classes

struct  myindex
 

Public Member Functions

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

Private Member Functions

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

Private Attributes

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

#include </home/sftnight/build/workspace/root-makedoc-v630/rootspi/rdoc/src/v6-30-00-patches/proof/xrdinc/XrdClient/XrdClientVector.hh>

Constructor & Destructor Documentation

◆ XrdClientVector() [1/2]

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

Definition at line 151 of file XrdClientVector.hh.

◆ XrdClientVector() [2/2]

template<class T >
XrdClientVector< T >::XrdClientVector ( XrdClientVector< T > &  v)
inline

Definition at line 159 of file XrdClientVector.hh.

◆ ~XrdClientVector()

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

Definition at line 171 of file XrdClientVector.hh.

Member Function Documentation

◆ At()

template<class T >
T & XrdClientVector< T >::At ( int  pos)
inline

Definition at line 304 of file XrdClientVector.hh.

◆ BufRealloc()

template<class T >
int XrdClientVector< T >::BufRealloc ( int  newsize)
private

Definition at line 321 of file XrdClientVector.hh.

◆ Clear()

template<class T >
void XrdClientVector< T >::Clear ( )
inline

Definition at line 144 of file XrdClientVector.hh.

◆ DestroyElem()

template<class T >
void XrdClientVector< T >::DestroyElem ( myindex el)
inlineprivate

Definition at line 103 of file XrdClientVector.hh.

◆ Erase()

template<class T >
void XrdClientVector< T >::Erase ( unsigned int  pos,
bool  dontrealloc = true 
)
inline

Definition at line 266 of file XrdClientVector.hh.

◆ GetSize()

template<class T >
int XrdClientVector< T >::GetSize ( ) const
inline

Definition at line 142 of file XrdClientVector.hh.

◆ Init()

template<class T >
void XrdClientVector< T >::Init ( int  cap = -1)
inlineprivate

Definition at line 75 of file XrdClientVector.hh.

◆ Insert()

template<class T >
void XrdClientVector< T >::Insert ( T &  item,
int  pos 
)
inline

Definition at line 224 of file XrdClientVector.hh.

◆ operator[]()

template<class T >
T & XrdClientVector< T >::operator[] ( int  pos)
inline

Definition at line 311 of file XrdClientVector.hh.

◆ Pop_back()

template<class T >
T XrdClientVector< T >::Pop_back ( )
inline

Definition at line 282 of file XrdClientVector.hh.

◆ Pop_front()

template<class T >
T XrdClientVector< T >::Pop_front ( )
inline

Definition at line 294 of file XrdClientVector.hh.

◆ Push_back()

template<class T >
void XrdClientVector< T >::Push_back ( T &  item)
inline

Definition at line 197 of file XrdClientVector.hh.

◆ put()

template<class T >
void XrdClientVector< T >::put ( T &  item,
long  pos 
)
inlineprivate

Definition at line 108 of file XrdClientVector.hh.

◆ Resize()

template<class T >
void XrdClientVector< T >::Resize ( int  newsize)
inline

Definition at line 179 of file XrdClientVector.hh.

Member Data Documentation

◆ capacity

template<class T >
long XrdClientVector< T >::capacity
private

Definition at line 68 of file XrdClientVector.hh.

◆ holecount

template<class T >
int XrdClientVector< T >::holecount
private

Definition at line 65 of file XrdClientVector.hh.

◆ index

template<class T >
struct XrdClientVector::myindex * XrdClientVector< T >::index
private

◆ maxsize

template<class T >
long XrdClientVector< T >::maxsize
private

Definition at line 68 of file XrdClientVector.hh.

◆ mincap

template<class T >
long XrdClientVector< T >::mincap
private

Definition at line 67 of file XrdClientVector.hh.

◆ rawdata

template<class T >
char* XrdClientVector< T >::rawdata
private

Definition at line 56 of file XrdClientVector.hh.

◆ size

template<class T >
long XrdClientVector< T >::size
private

Definition at line 67 of file XrdClientVector.hh.

◆ sizeof_t

template<class T >
int XrdClientVector< T >::sizeof_t
private

Definition at line 54 of file XrdClientVector.hh.

  • proof/xrdinc/XrdClient/XrdClientVector.hh