Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
TDefaultMapKeyFuncs< KeyType, ValueType, bInAllowDuplicateKeys > Struct Template Reference

#include <Map.h>

+ Inheritance diagram for TDefaultMapKeyFuncs< KeyType, ValueType, bInAllowDuplicateKeys >:
+ Collaboration diagram for TDefaultMapKeyFuncs< KeyType, ValueType, bInAllowDuplicateKeys >:

Public Types

typedef TTypeTraits< KeyType >::ConstPointerType KeyInitType
 
typedef const TPairInitializer< typename TTypeTraits< KeyType >::ConstInitType, typename TTypeTraits< ValueType >::ConstInitType > & ElementInitType
 
- Public Types inherited from BaseKeyFuncs< TPair< KeyType, ValueType >, KeyType, bInAllowDuplicateKeys >
enum  
 
typedef KeyType KeyType
 
typedef TCallTraits< KeyType >::ParamType KeyInitType
 
typedef TCallTraits< TPair< KeyType, ValueType > >::ParamType ElementInitType
 

Static Public Member Functions

static FORCEINLINE KeyInitType GetSetKey (ElementInitType Element)
 
static FORCEINLINE bool Matches (KeyInitType A, KeyInitType B)
 
static FORCEINLINE uint32 GetKeyHash (KeyInitType Key)
 

Detailed Description

template<typename KeyType, typename ValueType, bool bInAllowDuplicateKeys>
struct TDefaultMapKeyFuncs< KeyType, ValueType, bInAllowDuplicateKeys >

Defines how the map's pairs are hashed.

Definition at line 73 of file Map.h.

Member Typedef Documentation

◆ ElementInitType

template<typename KeyType , typename ValueType , bool bInAllowDuplicateKeys>
typedef const TPairInitializer<typename TTypeTraits<KeyType>::ConstInitType, typename TTypeTraits<ValueType>::ConstInitType>& TDefaultMapKeyFuncs< KeyType, ValueType, bInAllowDuplicateKeys >::ElementInitType

Definition at line 76 of file Map.h.

◆ KeyInitType

template<typename KeyType , typename ValueType , bool bInAllowDuplicateKeys>
typedef TTypeTraits<KeyType>::ConstPointerType TDefaultMapKeyFuncs< KeyType, ValueType, bInAllowDuplicateKeys >::KeyInitType

Definition at line 75 of file Map.h.

Member Function Documentation

◆ GetKeyHash()

template<typename KeyType , typename ValueType , bool bInAllowDuplicateKeys>
static FORCEINLINE uint32 TDefaultMapKeyFuncs< KeyType, ValueType, bInAllowDuplicateKeys >::GetKeyHash ( KeyInitType Key)
inlinestatic

Definition at line 86 of file Map.h.

◆ GetSetKey()

template<typename KeyType , typename ValueType , bool bInAllowDuplicateKeys>
static FORCEINLINE KeyInitType TDefaultMapKeyFuncs< KeyType, ValueType, bInAllowDuplicateKeys >::GetSetKey ( ElementInitType Element)
inlinestatic

Definition at line 78 of file Map.h.

◆ Matches()

template<typename KeyType , typename ValueType , bool bInAllowDuplicateKeys>
static FORCEINLINE bool TDefaultMapKeyFuncs< KeyType, ValueType, bInAllowDuplicateKeys >::Matches ( KeyInitType A,
KeyInitType B )
inlinestatic

Definition at line 82 of file Map.h.


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