CatapultServer  v0.5.0.1 (Elephant)
catapult::deltaset::detail Namespace Reference

Classes

class  BaseSetDualIteratorWrapper
 
class  BaseSetSingleIteratorWrapper
 
struct  OrderedSetCommitPolicy
 Policy for committing changes to an ordered set. More...
 
struct  StlContainerTraits
 
struct  StlContainerTraits< T, utils::traits::is_type_expression_t< typename T::hasher > >
 

Typedefs

template<typename TFindTraits , typename TSetTraits , typename TStorageIterator , typename TMemoryIterator , typename TFindResult >
using BaseSetConditionalIteratorWrapper = std::conditional_t< std::is_same_v< TStorageIterator, TMemoryIterator >, BaseSetSingleIteratorWrapper< TFindTraits, TSetTraits, TStorageIterator, TFindResult >, BaseSetDualIteratorWrapper< TFindTraits, TSetTraits, TStorageIterator, TMemoryIterator, TFindResult > >
 Iterator that represents a find result from a base set that supports either one or two types of container iterators. More...
 
template<typename T >
using OrderedSetType = std::set< std::remove_const_t< typename T::ElementType >, std::less< typename T::ElementType > >
 

Typedef Documentation

◆ BaseSetConditionalIteratorWrapper

template<typename TFindTraits , typename TSetTraits , typename TStorageIterator , typename TMemoryIterator , typename TFindResult >
using catapult::deltaset::detail::BaseSetConditionalIteratorWrapper = typedef std::conditional_t< std::is_same_v<TStorageIterator, TMemoryIterator>, BaseSetSingleIteratorWrapper<TFindTraits, TSetTraits, TStorageIterator, TFindResult>, BaseSetDualIteratorWrapper<TFindTraits, TSetTraits, TStorageIterator, TMemoryIterator, TFindResult> >

Iterator that represents a find result from a base set that supports either one or two types of container iterators.

◆ OrderedSetType

template<typename T >
using catapult::deltaset::detail::OrderedSetType = typedef std::set< std::remove_const_t<typename T::ElementType>, std::less<typename T::ElementType> >