momo  3.9
momo::internal::BucketUnlimP< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings > Class Template Reference

#include <HashBucketUnlimP.h>

Inheritance diagram for momo::internal::BucketUnlimP< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >:
momo::internal::BucketBase

Public Types

typedef ItemTraits::Item Item
 
typedef ItemTraits::MemManager MemManager
 
typedef ArrayBucket::Bounds Bounds
 
typedef Bounds::Iterator Iterator
 
typedef ArrayBucket::Params Params
 

Public Member Functions

 BucketUnlimP () noexcept
 
 BucketUnlimP (const BucketUnlimP &)=delete
 
 ~BucketUnlimP ()=default
 
BucketUnlimPoperator= (const BucketUnlimP &)=delete
 
Bounds GetBounds (Params &) noexcept
 
template<bool first, typename ItemPredicate >
MOMO_FORCEINLINE Iterator Find (Params &params, const ItemPredicate &itemPred, size_t)
 
bool IsFull () const noexcept
 
bool WasFull () const noexcept
 
size_t GetMaxProbe (size_t) const noexcept
 
void Clear (Params &params) noexcept
 
template<typename ItemCreator >
Iterator AddCrt (Params &params, ItemCreator &&itemCreator, size_t, size_t, size_t)
 
template<typename ItemReplacer >
Iterator Remove (Params &params, Iterator iter, ItemReplacer &&itemReplacer)
 
- Public Member Functions inherited from momo::internal::BucketBase
size_t GetMaxProbe (size_t logBucketCount) const noexcept
 
void UpdateMaxProbe (size_t) noexcept
 
template<typename HashCodeFullGetter , typename Iterator >
size_t GetHashCodePart (const HashCodeFullGetter &hashCodeFullGetter, Iterator, size_t, size_t, size_t)
 

Static Public Member Functions

static size_t GetNextBucketIndex (size_t bucketIndex, size_t, size_t, size_t) noexcept
 
- Static Public Member Functions inherited from momo::internal::BucketBase
static size_t GetStartBucketIndex (size_t hashCode, size_t bucketCount) noexcept
 
static size_t GetNextBucketIndex (size_t bucketIndex, size_t, size_t bucketCount, size_t) noexcept
 

Static Public Attributes

static const size_t maxCount = UIntConst::maxSize
 
static const bool isNothrowAddableIfNothrowCreatable = false
 

Protected Types

typedef TItemTraits ItemTraits
 
typedef TMemPoolParams MemPoolParams
 
typedef TArraySettings ArraySettings
 

Static Protected Attributes

static const size_t maxFastCount = tMaxFastCount
 

Member Typedef Documentation

◆ ArraySettings

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
typedef TArraySettings momo::internal::BucketUnlimP< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::ArraySettings
protected

◆ Bounds

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
typedef ArrayBucket::Bounds momo::internal::BucketUnlimP< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::Bounds

◆ Item

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
typedef ItemTraits::Item momo::internal::BucketUnlimP< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::Item

◆ ItemTraits

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
typedef TItemTraits momo::internal::BucketUnlimP< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::ItemTraits
protected

◆ Iterator

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
typedef Bounds::Iterator momo::internal::BucketUnlimP< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::Iterator

◆ MemManager

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
typedef ItemTraits::MemManager momo::internal::BucketUnlimP< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::MemManager

◆ MemPoolParams

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
typedef TMemPoolParams momo::internal::BucketUnlimP< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::MemPoolParams
protected

◆ Params

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
typedef ArrayBucket::Params momo::internal::BucketUnlimP< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::Params

Constructor & Destructor Documentation

◆ BucketUnlimP() [1/2]

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
momo::internal::BucketUnlimP< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::BucketUnlimP ( )
inlineexplicitnoexcept

◆ BucketUnlimP() [2/2]

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
momo::internal::BucketUnlimP< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::BucketUnlimP ( const BucketUnlimP< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings > &  )
delete

◆ ~BucketUnlimP()

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
momo::internal::BucketUnlimP< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::~BucketUnlimP ( )
default

Member Function Documentation

◆ AddCrt()

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
template<typename ItemCreator >
Iterator momo::internal::BucketUnlimP< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::AddCrt ( Params params,
ItemCreator &&  itemCreator,
size_t  ,
size_t  ,
size_t   
)
inline

◆ Clear()

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
void momo::internal::BucketUnlimP< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::Clear ( Params params)
inlinenoexcept

◆ Find()

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
template<bool first, typename ItemPredicate >
MOMO_FORCEINLINE Iterator momo::internal::BucketUnlimP< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::Find ( Params params,
const ItemPredicate &  itemPred,
size_t   
)
inline

◆ GetBounds()

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
Bounds momo::internal::BucketUnlimP< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::GetBounds ( Params )
inlinenoexcept

◆ GetMaxProbe()

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
size_t momo::internal::BucketUnlimP< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::GetMaxProbe ( size_t  ) const
inlinenoexcept

◆ GetNextBucketIndex()

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
static size_t momo::internal::BucketUnlimP< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::GetNextBucketIndex ( size_t  bucketIndex,
size_t  ,
size_t  ,
size_t   
)
inlinestaticnoexcept

◆ IsFull()

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
bool momo::internal::BucketUnlimP< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::IsFull ( ) const
inlinenoexcept

◆ operator=()

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
BucketUnlimP& momo::internal::BucketUnlimP< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::operator= ( const BucketUnlimP< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings > &  )
delete

◆ Remove()

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
template<typename ItemReplacer >
Iterator momo::internal::BucketUnlimP< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::Remove ( Params params,
Iterator  iter,
ItemReplacer &&  itemReplacer 
)
inline

◆ WasFull()

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
bool momo::internal::BucketUnlimP< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::WasFull ( ) const
inlinenoexcept

Member Data Documentation

◆ isNothrowAddableIfNothrowCreatable

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
const bool momo::internal::BucketUnlimP< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::isNothrowAddableIfNothrowCreatable = false
static

◆ maxCount

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
const size_t momo::internal::BucketUnlimP< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::maxCount = UIntConst::maxSize
static

◆ maxFastCount

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
const size_t momo::internal::BucketUnlimP< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::maxFastCount = tMaxFastCount
staticprotected

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