momo  3.9
momo::HashSetItemTraits< TKey, TMemManager > Class Template Reference

#include <HashSet.h>

Inheritance diagram for momo::HashSetItemTraits< TKey, TMemManager >:
momo::internal::SetItemTraits< TKey, TMemManager >

Public Types

typedef Key Item
 
typedef TMemManager MemManager
 
- Public Types inherited from momo::internal::SetItemTraits< TKey, TMemManager >
typedef TKey Key
 
typedef TMemManager MemManager
 
typedef Key Item
 
template<typename... ItemArgs>
using Creator = typename ItemManager::template Creator< ItemArgs... >
 

Static Public Member Functions

template<typename ItemCreator >
static void RelocateCreate (MemManager &memManager, Item *srcItems, Item *dstItems, size_t count, ItemCreator &&itemCreator, Item *newItem)
 
- Static Public Member Functions inherited from momo::internal::SetItemTraits< TKey, TMemManager >
static const KeyGetKey (const Item &item) noexcept
 
static void Destroy (MemManager *memManager, Item &item) noexcept
 
static void Relocate (MemManager *memManager, Item &srcItem, Item *dstItem) noexcept(isNothrowRelocatable)
 
static void Replace (MemManager &memManager, Item &srcItem, Item &dstItem)
 
static void ReplaceRelocate (MemManager &memManager, Item &srcItem, Item &midItem, Item *dstItem)
 
template<typename KeyArg >
static void AssignKey (MemManager &, KeyArg &&keyArg, Item &item)
 

Additional Inherited Members

- Static Public Attributes inherited from momo::internal::SetItemTraits< TKey, TMemManager >
static const size_t alignment = ItemManager::alignment
 
static const bool isNothrowRelocatable = ItemManager::isNothrowRelocatable
 

Member Typedef Documentation

◆ Item

template<typename TKey , typename TMemManager >
typedef Key momo::internal::SetItemTraits< TKey, TMemManager >::Item

◆ MemManager

template<typename TKey , typename TMemManager >
typedef TMemManager momo::internal::SetItemTraits< TKey, TMemManager >::MemManager

Member Function Documentation

◆ RelocateCreate()

template<typename TKey , typename TMemManager >
template<typename ItemCreator >
static void momo::HashSetItemTraits< TKey, TMemManager >::RelocateCreate ( MemManager memManager,
Item srcItems,
Item dstItems,
size_t  count,
ItemCreator &&  itemCreator,
Item newItem 
)
inlinestatic

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