momo  3.9
momo::internal::MapKeyValuePair< TKey, TValue, tKeyAlignment, tValueAlignment > Class Template Reference

#include <MapUtility.h>

Public Types

typedef TKey Key
 
typedef TValue Value
 

Public Member Functions

 MapKeyValuePair (const MapKeyValuePair &)=delete
 
MapKeyValuePairoperator= (const MapKeyValuePair &)=delete
 
const KeyGetKeyPtr () const noexcept
 
KeyGetKeyPtr () noexcept
 
ValueGetValuePtr () const noexcept
 

Static Public Member Functions

static void Create (MapKeyValuePair *newPair) noexcept
 
template<typename PairCreator >
static void Create (MapKeyValuePair *newPair, PairCreator &&pairCreator)
 
template<typename KeyValueTraits , typename MemManager , typename RKey , typename ValueCreator >
static void Create (MapKeyValuePair *newPair, MemManager &memManager, RKey &&key, ValueCreator &&valueCreator)
 
static void Destroy (MapKeyValuePair &pair) noexcept
 

Static Protected Attributes

static const size_t keyAlignment = tKeyAlignment
 
static const size_t valueAlignment = tValueAlignment
 

Member Typedef Documentation

◆ Key

template<typename TKey , typename TValue , size_t tKeyAlignment, size_t tValueAlignment>
typedef TKey momo::internal::MapKeyValuePair< TKey, TValue, tKeyAlignment, tValueAlignment >::Key

◆ Value

template<typename TKey , typename TValue , size_t tKeyAlignment, size_t tValueAlignment>
typedef TValue momo::internal::MapKeyValuePair< TKey, TValue, tKeyAlignment, tValueAlignment >::Value

Constructor & Destructor Documentation

◆ MapKeyValuePair()

template<typename TKey , typename TValue , size_t tKeyAlignment, size_t tValueAlignment>
momo::internal::MapKeyValuePair< TKey, TValue, tKeyAlignment, tValueAlignment >::MapKeyValuePair ( const MapKeyValuePair< TKey, TValue, tKeyAlignment, tValueAlignment > &  )
delete

Member Function Documentation

◆ Create() [1/3]

template<typename TKey , typename TValue , size_t tKeyAlignment, size_t tValueAlignment>
static void momo::internal::MapKeyValuePair< TKey, TValue, tKeyAlignment, tValueAlignment >::Create ( MapKeyValuePair< TKey, TValue, tKeyAlignment, tValueAlignment > *  newPair)
inlinestaticnoexcept

◆ Create() [2/3]

template<typename TKey , typename TValue , size_t tKeyAlignment, size_t tValueAlignment>
template<typename KeyValueTraits , typename MemManager , typename RKey , typename ValueCreator >
static void momo::internal::MapKeyValuePair< TKey, TValue, tKeyAlignment, tValueAlignment >::Create ( MapKeyValuePair< TKey, TValue, tKeyAlignment, tValueAlignment > *  newPair,
MemManager &  memManager,
RKey &&  key,
ValueCreator &&  valueCreator 
)
inlinestatic

◆ Create() [3/3]

template<typename TKey , typename TValue , size_t tKeyAlignment, size_t tValueAlignment>
template<typename PairCreator >
static void momo::internal::MapKeyValuePair< TKey, TValue, tKeyAlignment, tValueAlignment >::Create ( MapKeyValuePair< TKey, TValue, tKeyAlignment, tValueAlignment > *  newPair,
PairCreator &&  pairCreator 
)
inlinestatic

◆ Destroy()

template<typename TKey , typename TValue , size_t tKeyAlignment, size_t tValueAlignment>
static void momo::internal::MapKeyValuePair< TKey, TValue, tKeyAlignment, tValueAlignment >::Destroy ( MapKeyValuePair< TKey, TValue, tKeyAlignment, tValueAlignment > &  pair)
inlinestaticnoexcept

◆ GetKeyPtr() [1/2]

template<typename TKey , typename TValue , size_t tKeyAlignment, size_t tValueAlignment>
const Key* momo::internal::MapKeyValuePair< TKey, TValue, tKeyAlignment, tValueAlignment >::GetKeyPtr ( ) const
inlinenoexcept

◆ GetKeyPtr() [2/2]

template<typename TKey , typename TValue , size_t tKeyAlignment, size_t tValueAlignment>
Key* momo::internal::MapKeyValuePair< TKey, TValue, tKeyAlignment, tValueAlignment >::GetKeyPtr ( )
inlinenoexcept

◆ GetValuePtr()

template<typename TKey , typename TValue , size_t tKeyAlignment, size_t tValueAlignment>
Value* momo::internal::MapKeyValuePair< TKey, TValue, tKeyAlignment, tValueAlignment >::GetValuePtr ( ) const
inlinenoexcept

◆ operator=()

template<typename TKey , typename TValue , size_t tKeyAlignment, size_t tValueAlignment>
MapKeyValuePair& momo::internal::MapKeyValuePair< TKey, TValue, tKeyAlignment, tValueAlignment >::operator= ( const MapKeyValuePair< TKey, TValue, tKeyAlignment, tValueAlignment > &  )
delete

Member Data Documentation

◆ keyAlignment

template<typename TKey , typename TValue , size_t tKeyAlignment, size_t tValueAlignment>
const size_t momo::internal::MapKeyValuePair< TKey, TValue, tKeyAlignment, tValueAlignment >::keyAlignment = tKeyAlignment
staticprotected

◆ valueAlignment

template<typename TKey , typename TValue , size_t tKeyAlignment, size_t tValueAlignment>
const size_t momo::internal::MapKeyValuePair< TKey, TValue, tKeyAlignment, tValueAlignment >::valueAlignment = tValueAlignment
staticprotected

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