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

#include <ArrayBucket.h>

Classes

class  Params
 

Public Types

typedef ItemTraits::Item Item
 
typedef ItemTraits::MemManager MemManager
 
typedef ArrayBounds< Item * > Bounds
 
typedef Bounds::ConstBounds ConstBounds
 

Public Member Functions

 ArrayBucket () noexcept
 
 ArrayBucket (ArrayBucket &&bucket) noexcept
 
 ArrayBucket (const ArrayBucket &bucket)=delete
 
 ArrayBucket (Params &params, const ArrayBucket &bucket)
 
 ~ArrayBucket () noexcept
 
ArrayBucketoperator= (ArrayBucket &&bucket) noexcept
 
ArrayBucketoperator= (const ArrayBucket &)=delete
 
void Swap (ArrayBucket &bucket) noexcept
 
ConstBounds GetBounds () const noexcept
 
Bounds GetBounds () noexcept
 
void Clear (Params &params) noexcept
 
template<typename ItemCreator >
void AddBackCrt (Params &params, ItemCreator &&itemCreator)
 
void RemoveBack (Params &params) noexcept
 
void RemoveAll (Params &params) noexcept
 

Protected Types

typedef TItemTraits ItemTraits
 
typedef TMemPoolParams MemPoolParams
 
typedef TArraySettings ArraySettings
 

Protected Member Functions

 MOMO_STATIC_ASSERT (0< maxFastCount &&maxFastCount< 16)
 

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::ArrayBucket< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::ArraySettings
protected

◆ Bounds

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

◆ ConstBounds

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

◆ Item

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

◆ ItemTraits

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

◆ MemManager

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

◆ MemPoolParams

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

Constructor & Destructor Documentation

◆ ArrayBucket() [1/4]

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

◆ ArrayBucket() [2/4]

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
momo::internal::ArrayBucket< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::ArrayBucket ( ArrayBucket< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings > &&  bucket)
inlinenoexcept

◆ ArrayBucket() [3/4]

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

◆ ArrayBucket() [4/4]

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
momo::internal::ArrayBucket< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::ArrayBucket ( Params params,
const ArrayBucket< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings > &  bucket 
)
inlineexplicit

◆ ~ArrayBucket()

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

Member Function Documentation

◆ AddBackCrt()

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
template<typename ItemCreator >
void momo::internal::ArrayBucket< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::AddBackCrt ( Params params,
ItemCreator &&  itemCreator 
)
inline

◆ Clear()

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

◆ GetBounds() [1/2]

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
ConstBounds momo::internal::ArrayBucket< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::GetBounds ( ) const
inlinenoexcept

◆ GetBounds() [2/2]

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

◆ MOMO_STATIC_ASSERT()

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
momo::internal::ArrayBucket< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::MOMO_STATIC_ASSERT ( )
protected

◆ operator=() [1/2]

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
ArrayBucket& momo::internal::ArrayBucket< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::operator= ( ArrayBucket< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings > &&  bucket)
inlinenoexcept

◆ operator=() [2/2]

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

◆ RemoveAll()

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

◆ RemoveBack()

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

◆ Swap()

template<typename TItemTraits , size_t tMaxFastCount, typename TMemPoolParams , typename TArraySettings >
void momo::internal::ArrayBucket< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings >::Swap ( ArrayBucket< TItemTraits, tMaxFastCount, TMemPoolParams, TArraySettings > &  bucket)
inlinenoexcept

Member Data Documentation

◆ maxFastCount

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

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