raSystem  1.0 bata
CEffectVector< T > Class Template Reference

#include <d3dxGlobal.h>

Public Member Functions

 CEffectVector ()
 
 ~CEffectVector ()
 
void SwapVector (CEffectVector< T > &vOther)
 
HRESULT CopyFrom (CEffectVector< T > &vOther)
 
void Clear ()
 
void ClearWithoutDestructor ()
 
void Empty ()
 
T * Add ()
 
T * AddRange (UINT count)
 
HRESULT Add (const T &var)
 
HRESULT AddRange (const T *pVar, UINT count)
 
HRESULT Insert (const T &var, UINT index)
 
HRESULT InsertRange (const T *pVar, UINT index, UINT count)
 
T & operator[] (UINT index)
 
void Delete (UINT index)
 
void QuickDelete (UINT index)
 
UINT GetSize () const
 
T * GetData () const
 
UINT FindIndexOf (void *pEntry) const
 
void Sort (int(__cdecl *pfnCompare)(const void *pElem1, const void *pElem2))
 

Public Attributes

HRESULT m_hLastError
 

Protected Member Functions

HRESULT Grow ()
 
HRESULT Reserve (UINT DesiredSize)
 

Protected Attributes

BYTE * m_pData
 
UINT m_MaxSize
 
UINT m_CurSize
 

Detailed Description

template<class T>
class CEffectVector< T >

Definition at line 176 of file d3dxGlobal.h.

Constructor & Destructor Documentation

◆ CEffectVector()

template<class T>
CEffectVector< T >::CEffectVector ( )
inline

Definition at line 233 of file d3dxGlobal.h.

◆ ~CEffectVector()

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

Definition at line 243 of file d3dxGlobal.h.

Member Function Documentation

◆ Add() [1/2]

template<class T>
T* CEffectVector< T >::Add ( )
inline

Definition at line 319 of file d3dxGlobal.h.

◆ Add() [2/2]

template<class T>
HRESULT CEffectVector< T >::Add ( const T &  var)
inline

Definition at line 349 of file d3dxGlobal.h.

◆ AddRange() [1/2]

template<class T>
T* CEffectVector< T >::AddRange ( UINT  count)
inline

Definition at line 328 of file d3dxGlobal.h.

◆ AddRange() [2/2]

template<class T>
HRESULT CEffectVector< T >::AddRange ( const T *  pVar,
UINT  count 
)
inline

Definition at line 360 of file d3dxGlobal.h.

◆ Clear()

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

Definition at line 284 of file d3dxGlobal.h.

◆ ClearWithoutDestructor()

template<class T>
void CEffectVector< T >::ClearWithoutDestructor ( )
inline

Definition at line 294 of file d3dxGlobal.h.

◆ CopyFrom()

template<class T>
HRESULT CEffectVector< T >::CopyFrom ( CEffectVector< T > &  vOther)
inline

Definition at line 259 of file d3dxGlobal.h.

◆ Delete()

template<class T>
void CEffectVector< T >::Delete ( UINT  index)
inline

Definition at line 418 of file d3dxGlobal.h.

◆ Empty()

template<class T>
void CEffectVector< T >::Empty ( )
inline

Definition at line 306 of file d3dxGlobal.h.

◆ FindIndexOf()

template<class T>
UINT CEffectVector< T >::FindIndexOf ( void pEntry) const
inline

Definition at line 445 of file d3dxGlobal.h.

◆ GetData()

template<class T>
T* CEffectVector< T >::GetData ( ) const
inline

Definition at line 440 of file d3dxGlobal.h.

◆ GetSize()

template<class T>
UINT CEffectVector< T >::GetSize ( ) const
inline

Definition at line 435 of file d3dxGlobal.h.

◆ Grow()

template<class T>
HRESULT CEffectVector< T >::Grow ( )
inlineprotected

Definition at line 187 of file d3dxGlobal.h.

◆ Insert()

template<class T>
HRESULT CEffectVector< T >::Insert ( const T &  var,
UINT  index 
)
inline

Definition at line 377 of file d3dxGlobal.h.

◆ InsertRange()

template<class T>
HRESULT CEffectVector< T >::InsertRange ( const T *  pVar,
UINT  index,
UINT  count 
)
inline

Definition at line 391 of file d3dxGlobal.h.

◆ operator[]()

template<class T>
T& CEffectVector< T >::operator[] ( UINT  index)
inline

Definition at line 411 of file d3dxGlobal.h.

◆ QuickDelete()

template<class T>
void CEffectVector< T >::QuickDelete ( UINT  index)
inline

Definition at line 427 of file d3dxGlobal.h.

◆ Reserve()

template<class T>
HRESULT CEffectVector< T >::Reserve ( UINT  DesiredSize)
inlineprotected

Definition at line 192 of file d3dxGlobal.h.

◆ Sort()

template<class T>
void CEffectVector< T >::Sort ( int(__cdecl *pfnCompare)(const void *pElem1, const void *pElem2)  )
inline

Definition at line 458 of file d3dxGlobal.h.

◆ SwapVector()

template<class T>
void CEffectVector< T >::SwapVector ( CEffectVector< T > &  vOther)
inline

Definition at line 250 of file d3dxGlobal.h.

Member Data Documentation

◆ m_CurSize

template<class T>
UINT CEffectVector< T >::m_CurSize
protected

Definition at line 185 of file d3dxGlobal.h.

◆ m_hLastError

template<class T>
HRESULT CEffectVector< T >::m_hLastError

Definition at line 231 of file d3dxGlobal.h.

◆ m_MaxSize

template<class T>
UINT CEffectVector< T >::m_MaxSize
protected

Definition at line 184 of file d3dxGlobal.h.

◆ m_pData

template<class T>
BYTE* CEffectVector< T >::m_pData
protected

Definition at line 183 of file d3dxGlobal.h.


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