vdr  1.7.27
Public Member Functions | Private Member Functions | Private Attributes
cVector< T > Class Template Reference

#include <tools.h>

List of all members.

Public Member Functions

 cVector (int Allocated=10)
virtual ~cVector ()
T & At (int Index) const
const T & operator[] (int Index) const
T & operator[] (int Index)
int Size (void) const
virtual void Insert (T Data, int Before=0)
virtual void Append (T Data)
virtual void Remove (int Index)
virtual void Clear (void)
void Sort (__compar_fn_t Compare)
 cVector (int Allocated=10)
virtual ~cVector ()
T & At (int Index) const
const T & operator[] (int Index) const
T & operator[] (int Index)
int Size (void) const
virtual void Insert (T Data, int Before=0)
virtual void Append (T Data)
virtual void Remove (int Index)
virtual void Clear (void)
void Sort (__compar_fn_t Compare)

Private Member Functions

 cVector (const cVector &Vector)
cVectoroperator= (const cVector &Vector)
void Realloc (int Index) const
 cVector (const cVector &Vector)
cVectoroperator= (const cVector &Vector)
void Realloc (int Index) const

Private Attributes

int allocated
int size
T * data

Detailed Description

template<class T>
class cVector< T >

Definition at line 459 of file include/vdr/tools.h.


Constructor & Destructor Documentation

template<class T>
cVector< T >::cVector ( const cVector< T > &  Vector) [inline, private]

Definition at line 464 of file include/vdr/tools.h.

template<class T>
cVector< T >::cVector ( int  Allocated = 10) [inline]

Definition at line 480 of file include/vdr/tools.h.

template<class T>
virtual cVector< T >::~cVector ( ) [inline, virtual]

Definition at line 487 of file include/vdr/tools.h.

template<class T>
cVector< T >::cVector ( const cVector< T > &  Vector) [inline, private]

Definition at line 464 of file tools.h.

template<class T>
cVector< T >::cVector ( int  Allocated = 10) [inline]

Definition at line 480 of file tools.h.

template<class T>
virtual cVector< T >::~cVector ( ) [inline, virtual]

Definition at line 487 of file tools.h.


Member Function Documentation

template<class T>
virtual void cVector< T >::Append ( Data) [inline, virtual]
template<class T>
virtual void cVector< T >::Append ( Data) [inline, virtual]

Definition at line 515 of file tools.h.

template<class T>
T& cVector< T >::At ( int  Index) const [inline]

Definition at line 488 of file include/vdr/tools.h.

template<class T>
T& cVector< T >::At ( int  Index) const [inline]

Definition at line 488 of file tools.h.

template<class T>
virtual void cVector< T >::Clear ( void  ) [inline, virtual]

Reimplemented in cStringList, and cStringList.

Definition at line 527 of file include/vdr/tools.h.

template<class T>
virtual void cVector< T >::Clear ( void  ) [inline, virtual]

Reimplemented in cStringList, and cStringList.

Definition at line 527 of file tools.h.

template<class T>
virtual void cVector< T >::Insert ( Data,
int  Before = 0 
) [inline, virtual]

Definition at line 504 of file tools.h.

template<class T>
virtual void cVector< T >::Insert ( Data,
int  Before = 0 
) [inline, virtual]

Definition at line 504 of file include/vdr/tools.h.

Referenced by cMenuSetupOSD::cMenuSetupOSD(), and cOsd::cOsd().

template<class T>
cVector& cVector< T >::operator= ( const cVector< T > &  Vector) [inline, private]

Definition at line 465 of file tools.h.

template<class T>
cVector& cVector< T >::operator= ( const cVector< T > &  Vector) [inline, private]

Definition at line 465 of file include/vdr/tools.h.

template<class T>
const T& cVector< T >::operator[] ( int  Index) const [inline]

Definition at line 495 of file include/vdr/tools.h.

template<class T>
const T& cVector< T >::operator[] ( int  Index) const [inline]

Definition at line 495 of file tools.h.

template<class T>
T& cVector< T >::operator[] ( int  Index) [inline]

Definition at line 499 of file tools.h.

template<class T>
T& cVector< T >::operator[] ( int  Index) [inline]

Definition at line 499 of file include/vdr/tools.h.

template<class T>
void cVector< T >::Realloc ( int  Index) const [inline, private]

Definition at line 466 of file include/vdr/tools.h.

template<class T>
void cVector< T >::Realloc ( int  Index) const [inline, private]

Definition at line 466 of file tools.h.

template<class T>
virtual void cVector< T >::Remove ( int  Index) [inline, virtual]

Definition at line 521 of file include/vdr/tools.h.

Referenced by cOsd::~cOsd().

template<class T>
virtual void cVector< T >::Remove ( int  Index) [inline, virtual]

Definition at line 521 of file tools.h.

template<class T>
int cVector< T >::Size ( void  ) const [inline]

Definition at line 503 of file tools.h.

template<class T>
int cVector< T >::Size ( void  ) const [inline]
template<class T>
void cVector< T >::Sort ( __compar_fn_t  Compare) [inline]

Definition at line 531 of file tools.h.

template<class T>
void cVector< T >::Sort ( __compar_fn_t  Compare) [inline]

Definition at line 531 of file include/vdr/tools.h.


Member Data Documentation

template<class T>
int cVector< T >::allocated [mutable, private]

Definition at line 461 of file include/vdr/tools.h.

template<class T>
T * cVector< T >::data [mutable, private]

Definition at line 463 of file include/vdr/tools.h.

template<class T>
int cVector< T >::size [mutable, private]

Definition at line 462 of file include/vdr/tools.h.


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