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

#include <TreeSet.h>

Inheritance diagram for momo::TreeSetItemTraits< 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 Iterator , typename ItemCreator >
static void RelocateCreate (MemManager &memManager, Iterator srcBegin, Iterator dstBegin, size_t count, ItemCreator &&itemCreator, Item *newItem)
 
template<typename Iterator >
static void ShiftNothrow (MemManager &memManager, Iterator begin, size_t shift) noexcept
 
- 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)
 

Static Public Attributes

static const bool isNothrowShiftable = ItemManager::isNothrowShiftable
 
- 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 Iterator , typename ItemCreator >
static void momo::TreeSetItemTraits< TKey, TMemManager >::RelocateCreate ( MemManager memManager,
Iterator  srcBegin,
Iterator  dstBegin,
size_t  count,
ItemCreator &&  itemCreator,
Item newItem 
)
inlinestatic

◆ ShiftNothrow()

template<typename TKey , typename TMemManager >
template<typename Iterator >
static void momo::TreeSetItemTraits< TKey, TMemManager >::ShiftNothrow ( MemManager memManager,
Iterator  begin,
size_t  shift 
)
inlinestaticnoexcept

Member Data Documentation

◆ isNothrowShiftable

template<typename TKey , typename TMemManager >
const bool momo::TreeSetItemTraits< TKey, TMemManager >::isNothrowShiftable = ItemManager::isNothrowShiftable
static

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