Ark Server API (ASA) - 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)
 
template<typename ComparableKey >
static FORCEINLINE bool Matches (KeyInitType A, ComparableKey B)
 
static FORCEINLINE uint32 GetKeyHash (KeyInitType Key)
 
template<typename ComparableKey >
static FORCEINLINE uint32 GetKeyHash (ComparableKey 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 77 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 80 of file Map.h.

◆ KeyInitType

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

Definition at line 79 of file Map.h.

Member Function Documentation

◆ GetKeyHash() [1/2]

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

Definition at line 104 of file Map.h.

◆ GetKeyHash() [2/2]

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

Definition at line 98 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 82 of file Map.h.

◆ Matches() [1/2]

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

Definition at line 93 of file Map.h.

◆ Matches() [2/2]

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

Definition at line 87 of file Map.h.


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