Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
BaseKeyFuncs< ElementType, InKeyType, bInAllowDuplicateKeys > Struct Template Reference

#include <Set.h>

+ Inheritance diagram for BaseKeyFuncs< ElementType, InKeyType, bInAllowDuplicateKeys >:

Public Types

enum  { bAllowDuplicateKeys = bInAllowDuplicateKeys }
 
typedef InKeyType KeyType
 
typedef TCallTraits< InKeyType >::ParamType KeyInitType
 
typedef TCallTraits< ElementType >::ParamType ElementInitType
 

Detailed Description

template<typename ElementType, typename InKeyType, bool bInAllowDuplicateKeys = false>
struct BaseKeyFuncs< ElementType, InKeyType, bInAllowDuplicateKeys >

The base KeyFuncs type with some useful definitions for all KeyFuncs; meant to be derived from instead of used directly. bInAllowDuplicateKeys=true is slightly faster because it allows the TSet to skip validating that there isn't already a duplicate entry in the TSet.

Definition at line 24 of file Set.h.

Member Typedef Documentation

◆ ElementInitType

template<typename ElementType , typename InKeyType , bool bInAllowDuplicateKeys = false>
typedef TCallTraits<ElementType>::ParamType BaseKeyFuncs< ElementType, InKeyType, bInAllowDuplicateKeys >::ElementInitType

Definition at line 28 of file Set.h.

◆ KeyInitType

template<typename ElementType , typename InKeyType , bool bInAllowDuplicateKeys = false>
typedef TCallTraits<InKeyType>::ParamType BaseKeyFuncs< ElementType, InKeyType, bInAllowDuplicateKeys >::KeyInitType

Definition at line 27 of file Set.h.

◆ KeyType

template<typename ElementType , typename InKeyType , bool bInAllowDuplicateKeys = false>
typedef InKeyType BaseKeyFuncs< ElementType, InKeyType, bInAllowDuplicateKeys >::KeyType

Definition at line 26 of file Set.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename ElementType , typename InKeyType , bool bInAllowDuplicateKeys = false>
anonymous enum
Enumerator
bAllowDuplicateKeys 

Definition at line 30 of file Set.h.


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