momo  3.9
momo::MemManagerDict< TBaseMemManager, TSettings > Class Template Reference

#include <MemManagerDict.h>

Public Types

typedef TBaseMemManager BaseMemManager
 
typedef TSettings Settings
 

Public Member Functions

 MemManagerDict (BaseMemManager baseMemManager=BaseMemManager())
 
 MemManagerDict (MemManagerDict &&)=default
 
 MemManagerDict (const MemManagerDict &memManager)
 
 ~MemManagerDict () noexcept
 
MemManagerDictoperator= (MemManagerDict &&)=default
 
MemManagerDictoperator= (const MemManagerDict &)=delete
 
const BaseMemManagerGetBaseMemManager () const noexcept
 
BaseMemManagerGetBaseMemManager () noexcept
 
MOMO_NODISCARD void * Allocate (size_t size)
 
void Deallocate (void *ptr, size_t size) noexcept
 
void * FindBlock (void *ptr, size_t *resSize=nullptr) const noexcept
 

Static Public Attributes

static const size_t ptrUsefulBitCount
 

Member Typedef Documentation

◆ BaseMemManager

template<typename TBaseMemManager = MemManagerDefault, typename TSettings = MemManagerDictSettings>
typedef TBaseMemManager momo::MemManagerDict< TBaseMemManager, TSettings >::BaseMemManager

◆ Settings

template<typename TBaseMemManager = MemManagerDefault, typename TSettings = MemManagerDictSettings>
typedef TSettings momo::MemManagerDict< TBaseMemManager, TSettings >::Settings

Constructor & Destructor Documentation

◆ MemManagerDict() [1/3]

template<typename TBaseMemManager = MemManagerDefault, typename TSettings = MemManagerDictSettings>
momo::MemManagerDict< TBaseMemManager, TSettings >::MemManagerDict ( BaseMemManager  baseMemManager = BaseMemManager())
inlineexplicit

◆ MemManagerDict() [2/3]

template<typename TBaseMemManager = MemManagerDefault, typename TSettings = MemManagerDictSettings>
momo::MemManagerDict< TBaseMemManager, TSettings >::MemManagerDict ( MemManagerDict< TBaseMemManager, TSettings > &&  )
default

◆ MemManagerDict() [3/3]

template<typename TBaseMemManager = MemManagerDefault, typename TSettings = MemManagerDictSettings>
momo::MemManagerDict< TBaseMemManager, TSettings >::MemManagerDict ( const MemManagerDict< TBaseMemManager, TSettings > &  memManager)
inline

◆ ~MemManagerDict()

template<typename TBaseMemManager = MemManagerDefault, typename TSettings = MemManagerDictSettings>
momo::MemManagerDict< TBaseMemManager, TSettings >::~MemManagerDict ( )
inlinenoexcept

Member Function Documentation

◆ Allocate()

template<typename TBaseMemManager = MemManagerDefault, typename TSettings = MemManagerDictSettings>
MOMO_NODISCARD void* momo::MemManagerDict< TBaseMemManager, TSettings >::Allocate ( size_t  size)
inline

◆ Deallocate()

template<typename TBaseMemManager = MemManagerDefault, typename TSettings = MemManagerDictSettings>
void momo::MemManagerDict< TBaseMemManager, TSettings >::Deallocate ( void *  ptr,
size_t  size 
)
inlinenoexcept

◆ FindBlock()

template<typename TBaseMemManager = MemManagerDefault, typename TSettings = MemManagerDictSettings>
void* momo::MemManagerDict< TBaseMemManager, TSettings >::FindBlock ( void *  ptr,
size_t *  resSize = nullptr 
) const
inlinenoexcept

◆ GetBaseMemManager() [1/2]

template<typename TBaseMemManager = MemManagerDefault, typename TSettings = MemManagerDictSettings>
const BaseMemManager& momo::MemManagerDict< TBaseMemManager, TSettings >::GetBaseMemManager ( ) const
inlinenoexcept

◆ GetBaseMemManager() [2/2]

template<typename TBaseMemManager = MemManagerDefault, typename TSettings = MemManagerDictSettings>
BaseMemManager& momo::MemManagerDict< TBaseMemManager, TSettings >::GetBaseMemManager ( )
inlinenoexcept

◆ operator=() [1/2]

template<typename TBaseMemManager = MemManagerDefault, typename TSettings = MemManagerDictSettings>
MemManagerDict& momo::MemManagerDict< TBaseMemManager, TSettings >::operator= ( const MemManagerDict< TBaseMemManager, TSettings > &  )
delete

◆ operator=() [2/2]

template<typename TBaseMemManager = MemManagerDefault, typename TSettings = MemManagerDictSettings>
MemManagerDict& momo::MemManagerDict< TBaseMemManager, TSettings >::operator= ( MemManagerDict< TBaseMemManager, TSettings > &&  )
default

Member Data Documentation

◆ ptrUsefulBitCount

template<typename TBaseMemManager = MemManagerDefault, typename TSettings = MemManagerDictSettings>
const size_t momo::MemManagerDict< TBaseMemManager, TSettings >::ptrUsefulBitCount
static

The documentation for this class was generated from the following file:
momo::internal::MemManagerProxy::ptrUsefulBitCount
static const size_t ptrUsefulBitCount
Definition: MemManager.h:395