|
CatapultServer
v0.5.0.1 (Elephant)
|
Base set compatible traits for stl set types. More...

Public Types | |
| using | SetType = TSet |
| using | MemorySetType = TMemorySetType |
| using | KeyTraits = SetKeyTraits< 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 const StorageType & | ToStorage (const ValueType &value) |
| Converts a value type (value) to a storage type. More... | |
| template<typename TIterator > | |
| static const StorageType & | ToStorage (const KeyType &key, TIterator &&) |
| Converts key to a storage type. More... | |
| static constexpr const ValueType & | ToValue (const StorageType &element) |
| Converts a storage type (element) to a value type. More... | |
Static Public Attributes | |
| static constexpr bool | AllowsNativeValueModification = false |
| Set values cannot be modified because they are hashed in native container. More... | |
Base set compatible traits for stl set types.
| using catapult::deltaset::SetStorageTraits< TSet, TMemorySetType >::KeyTraits = SetKeyTraits<MemorySetType> |
| using catapult::deltaset::SetStorageTraits< TSet, TMemorySetType >::KeyType = typename KeyTraits::KeyType |
| using catapult::deltaset::SetStorageTraits< TSet, TMemorySetType >::MemorySetType = TMemorySetType |
| using catapult::deltaset::SetStorageTraits< TSet, TMemorySetType >::SetType = TSet |
| using catapult::deltaset::SetStorageTraits< TSet, TMemorySetType >::StorageType = typename KeyTraits::StorageType |
| using catapult::deltaset::SetStorageTraits< TSet, TMemorySetType >::ValueType = typename KeyTraits::ValueType |
|
inlinestaticconstexpr |
Converts a storage type (element) to a key.

|
inlinestatic |
Converts key to a storage type.
|
inlinestaticconstexpr |
Converts a value type (value) to a storage type.
|
inlinestaticconstexpr |
Converts a storage type (element) to a value type.
|
staticconstexpr |
Set values cannot be modified because they are hashed in native container.