CatapultServer  v0.5.0.1 (Elephant)
catapult::cache::detail::OrderedSetAdapter< TElementTraits, TDescriptor >::DescriptorAdapter Struct Reference

Public Types

using KeyType = typename TDescriptor::KeyType
 
using ValueType = typename TDescriptor::ValueType
 
using StorageType = typename TDescriptor::KeyType
 
using Serializer = typename TDescriptor::Serializer
 

Static Public Member Functions

static constexpr auto & ToKey (const StorageType &element)
 
static constexpr auto & ToValue (const StorageType &element)
 
static constexpr auto & ToStorage (const ValueType &value)
 

Static Public Attributes

static constexpr auto GetKeyFromValue = TDescriptor::GetKeyFromValue
 

Member Typedef Documentation

◆ KeyType

template<typename TElementTraits , typename TDescriptor >
using catapult::cache::detail::OrderedSetAdapter< TElementTraits, TDescriptor >::DescriptorAdapter::KeyType = typename TDescriptor::KeyType

◆ Serializer

template<typename TElementTraits , typename TDescriptor >
using catapult::cache::detail::OrderedSetAdapter< TElementTraits, TDescriptor >::DescriptorAdapter::Serializer = typename TDescriptor::Serializer

◆ StorageType

template<typename TElementTraits , typename TDescriptor >
using catapult::cache::detail::OrderedSetAdapter< TElementTraits, TDescriptor >::DescriptorAdapter::StorageType = typename TDescriptor::KeyType

◆ ValueType

template<typename TElementTraits , typename TDescriptor >
using catapult::cache::detail::OrderedSetAdapter< TElementTraits, TDescriptor >::DescriptorAdapter::ValueType = typename TDescriptor::ValueType

Member Function Documentation

◆ ToKey()

template<typename TElementTraits , typename TDescriptor >
static constexpr auto& catapult::cache::detail::OrderedSetAdapter< TElementTraits, TDescriptor >::DescriptorAdapter::ToKey ( const StorageType element)
inlinestaticconstexpr

◆ ToStorage()

template<typename TElementTraits , typename TDescriptor >
static constexpr auto& catapult::cache::detail::OrderedSetAdapter< TElementTraits, TDescriptor >::DescriptorAdapter::ToStorage ( const ValueType value)
inlinestaticconstexpr

◆ ToValue()

template<typename TElementTraits , typename TDescriptor >
static constexpr auto& catapult::cache::detail::OrderedSetAdapter< TElementTraits, TDescriptor >::DescriptorAdapter::ToValue ( const StorageType element)
inlinestaticconstexpr

Member Data Documentation

◆ GetKeyFromValue

template<typename TElementTraits , typename TDescriptor >
constexpr auto catapult::cache::detail::OrderedSetAdapter< TElementTraits, TDescriptor >::DescriptorAdapter::GetKeyFromValue = TDescriptor::GetKeyFromValue
staticconstexpr

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