CatapultServer
v0.5.0.1 (Elephant)
|
Base set compatible traits for stl map types. More...
Public Types | |
using | SetType = TMap |
using | MemorySetType = TMemoryMapType |
using | KeyTraits = MapKeyTraits< MemorySetType > |
using | KeyType = typename KeyTraits::KeyType |
using | ValueType = typename KeyTraits::ValueType |
using | StorageType = typename KeyTraits::StorageType |
Static Public Member Functions | |
static constexpr const KeyType & | ToKey (const StorageType &element) |
Converts a storage type (element) to a key. More... | |
static constexpr KeyType | ToKey (const ValueType &value) |
Converts a value type (value) to a key. More... | |
static constexpr StorageType | ToStorage (const ValueType &value) |
Converts a value type (value) to a storage type. More... | |
template<typename TIterator > | |
static const StorageType & | ToStorage (const KeyType &, TIterator &&iter) |
Converts iter to a storage type. More... | |
static constexpr const ValueType & | ToValue (const StorageType &element) |
Converts a storage type (element) to a value type. More... | |
static constexpr ValueType & | ToValue (StorageType &element) |
Converts a storage type (element) to a value type. More... | |
Static Public Attributes | |
static constexpr bool | AllowsNativeValueModification = true |
Map values can be modified because they are not hashed in native container. More... | |
Base set compatible traits for stl map types.
using catapult::deltaset::MapStorageTraits< TMap, TElementToKeyConverter, TMemoryMapType >::KeyTraits = MapKeyTraits<MemorySetType> |
using catapult::deltaset::MapStorageTraits< TMap, TElementToKeyConverter, TMemoryMapType >::KeyType = typename KeyTraits::KeyType |
using catapult::deltaset::MapStorageTraits< TMap, TElementToKeyConverter, TMemoryMapType >::MemorySetType = TMemoryMapType |
using catapult::deltaset::MapStorageTraits< TMap, TElementToKeyConverter, TMemoryMapType >::SetType = TMap |
using catapult::deltaset::MapStorageTraits< TMap, TElementToKeyConverter, TMemoryMapType >::StorageType = typename KeyTraits::StorageType |
using catapult::deltaset::MapStorageTraits< TMap, TElementToKeyConverter, TMemoryMapType >::ValueType = typename KeyTraits::ValueType |
|
inlinestaticconstexpr |
Converts a storage type (element) to a key.
|
inlinestaticconstexpr |
Converts a value type (value) to a key.
|
inlinestatic |
Converts iter to a storage type.
|
inlinestaticconstexpr |
Converts a value type (value) to a storage type.
|
inlinestaticconstexpr |
Converts a storage type (element) to a value type.
|
inlinestaticconstexpr |
Converts a storage type (element) to a value type.
|
staticconstexpr |
Map values can be modified because they are not hashed in native container.