CatapultServer  v0.5.0.1 (Elephant)
OrderedSet.h File Reference
Include dependency graph for OrderedSet.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  catapult::deltaset::detail::OrderedSetCommitPolicy< TSetTraits >
 Policy for committing changes to an ordered set. More...
 
class  catapult::deltaset::OrderedSet< TElementTraits, TStorageTraits >
 A base set with ordered keys. More...
 

Namespaces

 catapult
 
 catapult::deltaset
 
 catapult::deltaset::detail
 

Typedefs

template<typename T >
using catapult::deltaset::detail::OrderedSetType = std::set< std::remove_const_t< typename T::ElementType >, std::less< typename T::ElementType > >
 
template<typename TElementTraits , typename TStorageTraits = SetStorageTraits<detail::OrderedSetType<TElementTraits>>>
using catapult::deltaset::OrderedSetDelta = BaseSetDelta< TElementTraits, TStorageTraits >
 A delta on top of a base set with ordered keys. More...
 

Functions

template<typename TSet , typename X = decltype((*reinterpret_cast<TSet*>(0)).lower_bound(typename TSet::value_type()))>
void catapult::deltaset::PruneBaseSet (TSet &elements, const PruningBoundary< typename TSet::value_type > &pruningBoundary)
 Optionally prunes elements using pruningBoundary, which indicates the upper bound of elements to remove. More...