CatapultServer  v0.5.0.1 (Elephant)
catapult::cache::detail::OrderedMemorySetAdapter< TElementTraits > Struct Template Reference

Defines cache types for an ordered, memory backed set based cache. More...

Classes

class  StorageSetType
 
struct  StorageTraits
 

Public Types

using BaseSetType = deltaset::OrderedSet< TElementTraits, StorageTraits >
 Base set type. More...
 
using BaseSetDeltaType = typename BaseSetType::DeltaType
 Base set delta type. More...
 
using BaseSetDeltaPointerType = std::shared_ptr< BaseSetDeltaType >
 Base set delta pointer type. More...
 

Private Types

using ElementType = std::remove_const_t< typename TElementTraits::ElementType >
 
using MemorySetType = std::set< ElementType >
 
using SetStorageTraits = deltaset::SetStorageTraits< deltaset::ConditionalContainer< deltaset::SetKeyTraits< MemorySetType >, StorageSetType, MemorySetType >, MemorySetType >
 

Detailed Description

template<typename TElementTraits>
struct catapult::cache::detail::OrderedMemorySetAdapter< TElementTraits >

Defines cache types for an ordered, memory backed set based cache.

Member Typedef Documentation

◆ BaseSetDeltaPointerType

template<typename TElementTraits >
using catapult::cache::detail::OrderedMemorySetAdapter< TElementTraits >::BaseSetDeltaPointerType = std::shared_ptr<BaseSetDeltaType>

Base set delta pointer type.

◆ BaseSetDeltaType

template<typename TElementTraits >
using catapult::cache::detail::OrderedMemorySetAdapter< TElementTraits >::BaseSetDeltaType = typename BaseSetType::DeltaType

Base set delta type.

◆ BaseSetType

template<typename TElementTraits >
using catapult::cache::detail::OrderedMemorySetAdapter< TElementTraits >::BaseSetType = deltaset::OrderedSet<TElementTraits, StorageTraits>

Base set type.

◆ ElementType

template<typename TElementTraits >
using catapult::cache::detail::OrderedMemorySetAdapter< TElementTraits >::ElementType = std::remove_const_t<typename TElementTraits::ElementType>
private

◆ MemorySetType

template<typename TElementTraits >
using catapult::cache::detail::OrderedMemorySetAdapter< TElementTraits >::MemorySetType = std::set<ElementType>
private

◆ SetStorageTraits


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