CatapultServer  v0.5.0.1 (Elephant)
ConditionalContainer.h File Reference
Include dependency graph for ConditionalContainer.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::StlContainerTraits< T, typename >
 
struct  catapult::deltaset::detail::StlContainerTraits< T, utils::traits::is_type_expression_t< typename T::hasher > >
 
class  catapult::deltaset::ConditionalContainer< TKeyTraits, TStorageSet, TMemorySet >
 A conditional container that delegates to either a storage or a memory backed container. More...
 
class  catapult::deltaset::ConditionalContainer< TKeyTraits, TStorageSet, TMemorySet >::ConditionalIterator
 A const iterator. More...
 

Namespaces

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

Enumerations

enum  catapult::deltaset::ConditionalContainerMode { catapult::deltaset::ConditionalContainerMode::Storage, catapult::deltaset::ConditionalContainerMode::Memory }
 Possible conditional container modes. More...
 

Functions

template<typename TKeyTraits , typename TStorageSet , typename TMemorySet >
bool catapult::deltaset::IsSetIterable (const ConditionalContainer< TKeyTraits, TStorageSet, TMemorySet > &set)
 
template<typename TKeyTraits , typename TStorageSet , typename TMemorySet >
const TMemorySet & catapult::deltaset::SelectIterableSet (const ConditionalContainer< TKeyTraits, TStorageSet, TMemorySet > &set)
 
template<typename TKeyTraits , typename TStorageSet , typename TMemorySet >
void catapult::deltaset::UpdateSet (ConditionalContainer< TKeyTraits, TStorageSet, TMemorySet > &container, const DeltaElements< TMemorySet > &deltas)
 
template<typename TKeyTraits , typename TStorageSet , typename TMemorySet , typename TPruningBoundary >
void catapult::deltaset::PruneBaseSet (ConditionalContainer< TKeyTraits, TStorageSet, TMemorySet > &container, const TPruningBoundary &pruningBoundary)