raSystem  1.0 bata
CEffectHashTable< T, pfnIsEqual > Class Template Reference

#include <d3dxGlobal.h>

Inheritance diagram for CEffectHashTable< T, pfnIsEqual >:
CEffectHashTableWithPrivateHeap< T, pfnIsEqual >

Classes

class  CIterator
 
struct  SHashEntry
 

Public Member Functions

 CEffectHashTable ()
 
HRESULT Initialize (CEffectHashTable *pOther)
 
void Cleanup ()
 
 ~CEffectHashTable ()
 
HRESULT Grow (__in UINT DesiredSize, __in UINT ProvidedArraySize=0, __in_ecount_opt(ProvidedArraySize) void **ProvidedArray=NULL, __in bool OwnProvidedArray=false)
 
HRESULT AutoGrow ()
 
HRESULT FindValueWithHash (T Data, UINT Hash, CIterator *pIterator)
 
HRESULT FindFirstMatchingValue (UINT Hash, CIterator *pIterator)
 
HRESULT AddValueWithHash (T Data, UINT Hash)
 
void GetFirstEntry (CIterator *pIterator)
 
BOOL PastEnd (CIterator *pIterator)
 
void GetNextEntry (CIterator *pIterator)
 
void RemoveEntry (CIterator *pIterator)
 

Static Public Member Functions

static UINT GetNextHashTableSize (__in UINT DesiredSize)
 

Protected Member Functions

void CleanArray ()
 

Protected Attributes

SHashEntry ** m_rgpHashEntries
 
UINT m_NumHashSlots
 
UINT m_NumEntries
 
bool m_bOwnHashEntryArray
 

Detailed Description

template<typename T, BOOL(*)(const T &Data1, const T &Data2) pfnIsEqual>
class CEffectHashTable< T, pfnIsEqual >

Definition at line 846 of file d3dxGlobal.h.

Constructor & Destructor Documentation

◆ CEffectHashTable()

template<typename T , BOOL(*)(const T &Data1, const T &Data2) pfnIsEqual>
CEffectHashTable< T, pfnIsEqual >::CEffectHashTable ( )
inline

Definition at line 886 of file d3dxGlobal.h.

◆ ~CEffectHashTable()

template<typename T , BOOL(*)(const T &Data1, const T &Data2) pfnIsEqual>
CEffectHashTable< T, pfnIsEqual >::~CEffectHashTable ( )
inline

Definition at line 980 of file d3dxGlobal.h.

Member Function Documentation

◆ AddValueWithHash()

template<typename T , BOOL(*)(const T &Data1, const T &Data2) pfnIsEqual>
HRESULT CEffectHashTable< T, pfnIsEqual >::AddValueWithHash ( Data,
UINT  Hash 
)
inline

Definition at line 1179 of file d3dxGlobal.h.

◆ AutoGrow()

template<typename T , BOOL(*)(const T &Data1, const T &Data2) pfnIsEqual>
HRESULT CEffectHashTable< T, pfnIsEqual >::AutoGrow ( )
inline

Definition at line 1064 of file d3dxGlobal.h.

◆ CleanArray()

template<typename T , BOOL(*)(const T &Data1, const T &Data2) pfnIsEqual>
void CEffectHashTable< T, pfnIsEqual >::CleanArray ( )
inlineprotected

Definition at line 950 of file d3dxGlobal.h.

◆ Cleanup()

template<typename T , BOOL(*)(const T &Data1, const T &Data2) pfnIsEqual>
void CEffectHashTable< T, pfnIsEqual >::Cleanup ( )
inline

Definition at line 960 of file d3dxGlobal.h.

◆ FindFirstMatchingValue()

template<typename T , BOOL(*)(const T &Data1, const T &Data2) pfnIsEqual>
HRESULT CEffectHashTable< T, pfnIsEqual >::FindFirstMatchingValue ( UINT  Hash,
CIterator pIterator 
)
inline

Definition at line 1159 of file d3dxGlobal.h.

◆ FindValueWithHash()

template<typename T , BOOL(*)(const T &Data1, const T &Data2) pfnIsEqual>
HRESULT CEffectHashTable< T, pfnIsEqual >::FindValueWithHash ( Data,
UINT  Hash,
CIterator pIterator 
)
inline

Definition at line 1139 of file d3dxGlobal.h.

◆ GetFirstEntry()

template<typename T , BOOL(*)(const T &Data1, const T &Data2) pfnIsEqual>
void CEffectHashTable< T, pfnIsEqual >::GetFirstEntry ( CIterator pIterator)
inline

Definition at line 1205 of file d3dxGlobal.h.

◆ GetNextEntry()

template<typename T , BOOL(*)(const T &Data1, const T &Data2) pfnIsEqual>
void CEffectHashTable< T, pfnIsEqual >::GetNextEntry ( CIterator pIterator)
inline

Definition at line 1227 of file d3dxGlobal.h.

◆ GetNextHashTableSize()

template<typename T , BOOL(*)(const T &Data1, const T &Data2) pfnIsEqual>
static UINT CEffectHashTable< T, pfnIsEqual >::GetNextHashTableSize ( __in UINT  DesiredSize)
inlinestatic

Definition at line 985 of file d3dxGlobal.h.

◆ Grow()

template<typename T , BOOL(*)(const T &Data1, const T &Data2) pfnIsEqual>
HRESULT CEffectHashTable< T, pfnIsEqual >::Grow ( __in UINT  DesiredSize,
__in UINT  ProvidedArraySize = 0,
__in_ecount_opt(ProvidedArraySize) void **  ProvidedArray = NULL,
__in bool  OwnProvidedArray = false 
)
inline

Definition at line 1002 of file d3dxGlobal.h.

◆ Initialize()

template<typename T , BOOL(*)(const T &Data1, const T &Data2) pfnIsEqual>
HRESULT CEffectHashTable< T, pfnIsEqual >::Initialize ( CEffectHashTable< T, pfnIsEqual > *  pOther)
inline

Definition at line 894 of file d3dxGlobal.h.

◆ PastEnd()

template<typename T , BOOL(*)(const T &Data1, const T &Data2) pfnIsEqual>
BOOL CEffectHashTable< T, pfnIsEqual >::PastEnd ( CIterator pIterator)
inline

Definition at line 1220 of file d3dxGlobal.h.

◆ RemoveEntry()

template<typename T , BOOL(*)(const T &Data1, const T &Data2) pfnIsEqual>
void CEffectHashTable< T, pfnIsEqual >::RemoveEntry ( CIterator pIterator)
inline

Definition at line 1252 of file d3dxGlobal.h.

Member Data Documentation

◆ m_bOwnHashEntryArray

template<typename T , BOOL(*)(const T &Data1, const T &Data2) pfnIsEqual>
bool CEffectHashTable< T, pfnIsEqual >::m_bOwnHashEntryArray
protected

Definition at line 861 of file d3dxGlobal.h.

◆ m_NumEntries

template<typename T , BOOL(*)(const T &Data1, const T &Data2) pfnIsEqual>
UINT CEffectHashTable< T, pfnIsEqual >::m_NumEntries
protected

Definition at line 860 of file d3dxGlobal.h.

◆ m_NumHashSlots

template<typename T , BOOL(*)(const T &Data1, const T &Data2) pfnIsEqual>
UINT CEffectHashTable< T, pfnIsEqual >::m_NumHashSlots
protected

Definition at line 859 of file d3dxGlobal.h.

◆ m_rgpHashEntries

template<typename T , BOOL(*)(const T &Data1, const T &Data2) pfnIsEqual>
SHashEntry** CEffectHashTable< T, pfnIsEqual >::m_rgpHashEntries
protected

Definition at line 858 of file d3dxGlobal.h.


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