CObjectVector< T > Class Template Reference

#include <Vector.h>

Inheritance diagram for CObjectVector< T >:

CRecordVector< void * > CBaseRecordVector

List of all members.

Public Member Functions

 CObjectVector ()
 ~CObjectVector ()
 CObjectVector (const CObjectVector &objectVector)
CObjectVectoroperator= (const CObjectVector &objectVector)
CObjectVectoroperator+= (const CObjectVector &objectVector)
const T & operator[] (int index) const
T & operator[] (int index)
T & Front ()
const T & Front () const
T & Back ()
const T & Back () const
int Add (const T &item)
void Insert (int index, const T &item)
virtual void Delete (int index, int num=1)
int Find (const T &item) const
int FindInSorted (const T &item) const
int AddToSorted (const T &item)
void Sort (int(*compare)(void *const *, void *const *, void *), void *param)
void Sort ()

Static Public Member Functions

static int CompareObjectItems (void *const *a1, void *const *a2, void *param)


Detailed Description

template<class T>
class CObjectVector< T >

Definition at line 124 of file Vector.h.


Constructor & Destructor Documentation

template<class T>
CObjectVector< T >::CObjectVector (  )  [inline]

Definition at line 127 of file Vector.h.

template<class T>
CObjectVector< T >::~CObjectVector (  )  [inline]

Definition at line 128 of file Vector.h.

template<class T>
CObjectVector< T >::CObjectVector ( const CObjectVector< T > &  objectVector  )  [inline]

Definition at line 129 of file Vector.h.


Member Function Documentation

template<class T>
CObjectVector& CObjectVector< T >::operator= ( const CObjectVector< T > &  objectVector  )  [inline]

Definition at line 131 of file Vector.h.

template<class T>
CObjectVector& CObjectVector< T >::operator+= ( const CObjectVector< T > &  objectVector  )  [inline]

Definition at line 136 of file Vector.h.

template<class T>
const T& CObjectVector< T >::operator[] ( int  index  )  const [inline]

template<class T>
T& CObjectVector< T >::operator[] ( int  index  )  [inline]

Reimplemented from CRecordVector< void * >.

Definition at line 145 of file Vector.h.

template<class T>
T& CObjectVector< T >::Front (  )  [inline]

template<class T>
const T& CObjectVector< T >::Front (  )  const [inline]

Reimplemented from CRecordVector< void * >.

Definition at line 147 of file Vector.h.

template<class T>
T& CObjectVector< T >::Back (  )  [inline]

Reimplemented from CRecordVector< void * >.

Definition at line 148 of file Vector.h.

Referenced by NWildcard::CCensor::AddItem(), and CArchiveExtractCallback::GetStream().

template<class T>
const T& CObjectVector< T >::Back (  )  const [inline]

Reimplemented from CRecordVector< void * >.

Definition at line 149 of file Vector.h.

template<class T>
int CObjectVector< T >::Add ( const T &  item  )  [inline]

template<class T>
void CObjectVector< T >::Insert ( int  index,
const T &  item 
) [inline]

template<class T>
virtual void CObjectVector< T >::Delete ( int  index,
int  num = 1 
) [inline, virtual]

template<class T>
int CObjectVector< T >::Find ( const T &  item  )  const [inline]

Definition at line 161 of file Vector.h.

template<class T>
int CObjectVector< T >::FindInSorted ( const T &  item  )  const [inline]

Definition at line 168 of file Vector.h.

Referenced by DecompressArchives().

template<class T>
int CObjectVector< T >::AddToSorted ( const T &  item  )  [inline]

Definition at line 184 of file Vector.h.

template<class T>
void CObjectVector< T >::Sort ( int(*)(void *const *, void *const *, void *)  compare,
void *  param 
) [inline]

Reimplemented from CRecordVector< void * >.

Definition at line 205 of file Vector.h.

template<class T>
static int CObjectVector< T >::CompareObjectItems ( void *const *  a1,
void *const *  a2,
void *  param 
) [inline, static]

Definition at line 208 of file Vector.h.

Referenced by CObjectVector< NWildcard::CPair >::Sort().

template<class T>
void CObjectVector< T >::Sort (  )  [inline]

Reimplemented from CRecordVector< void * >.

Definition at line 210 of file Vector.h.


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

Generated on Sun May 25 00:20:49 2008 by  doxygen 1.5.6