engine
 
载入中...
搜索中...
未找到
静态 Public 成员函数 | 所有成员列表
DefaultKeyFuncs< ElementType, bInAllowDuplicateKeys > 模板结构体 参考

A default implementation of the KeyFuncs used by TSet which uses the element as a key. 更多...

#include <Set.h>

+ 类 DefaultKeyFuncs< ElementType, bInAllowDuplicateKeys > 继承关系图:

静态 Public 成员函数

template<typename ComparableKey >
static FORCEINLINE uint32 GetKeyHash (ComparableKey Key)
 Calculates a hash index for a key.
 
static FORCEINLINE uint32 GetKeyHash (KeyInitType Key)
 Calculates a hash index for a key.
 
static FORCEINLINE KeyInitType GetSetKey (ElementInitType Element)
 
template<typename ComparableKey >
static FORCEINLINE bool Matches (KeyInitType A, ComparableKey B)
 
static FORCEINLINE bool Matches (KeyInitType A, KeyInitType B)
 

详细描述

template<typename ElementType, bool bInAllowDuplicateKeys>
struct DefaultKeyFuncs< ElementType, bInAllowDuplicateKeys >

A default implementation of the KeyFuncs used by TSet which uses the element as a key.

成员函数说明

◆ GetSetKey()

template<typename ElementType , bool bInAllowDuplicateKeys>
static FORCEINLINE KeyInitType DefaultKeyFuncs< ElementType, bInAllowDuplicateKeys >::GetSetKey ( ElementInitType  Element)
inlinestatic
返回
The key used to index the given element.

◆ Matches() [1/2]

template<typename ElementType , bool bInAllowDuplicateKeys>
template<typename ComparableKey >
static FORCEINLINE bool DefaultKeyFuncs< ElementType, bInAllowDuplicateKeys >::Matches ( KeyInitType  A,
ComparableKey  B 
)
inlinestatic
返回
True if the keys match.

◆ Matches() [2/2]

template<typename ElementType , bool bInAllowDuplicateKeys>
static FORCEINLINE bool DefaultKeyFuncs< ElementType, bInAllowDuplicateKeys >::Matches ( KeyInitType  A,
KeyInitType  B 
)
inlinestatic
返回
True if the keys match.

该结构体的文档由以下文件生成: