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

Go to the source code of this file.

Namespaces

 catapult
 
 catapult::cache
 

Functions

template<typename TGroupedSet , typename TGroupingKey , typename TIdentifier >
void catapult::cache::AddIdentifierWithGroup (TGroupedSet &groupedSet, const TGroupingKey &key, const TIdentifier &identifier)
 Adds an identifier with with grouping key to groupedSet. More...
 
template<typename TSet , typename TGroupedSet , typename TGroupingKey , typename TAction >
void catapult::cache::ForEachIdentifierWithGroup (TSet &set, const TGroupedSet &groupedSet, const TGroupingKey &key, TAction action)
 Calls action for each value in set with grouping key according to groupedSet. More...
 
template<typename TGroupedSet , typename TGroupingKey , typename TIdentifier >
void catapult::cache::RemoveIdentifierWithGroup (TGroupedSet &groupedSet, const TGroupingKey &key, const TIdentifier &identifier)
 Removes an identifier with grouping key from groupedSet. More...
 
template<typename TSet , typename TGroupedSet , typename TGroupingKey >
void catapult::cache::RemoveAllIdentifiersWithGroup (TSet &set, TGroupedSet &groupedSet, const TGroupingKey &key)
 Removes all values in set with grouping key according to groupedSet. More...
 
template<typename TSet , typename TGroupedSet , typename TIdentifiers = typename TGroupedSet::ElementType::Identifiers>
TIdentifiers catapult::cache::FindDeactivatingIdentifiersAtHeight (const TSet &set, const TGroupedSet &groupedSet, Height height)
 Finds identifiers of all values in set (with grouped view groupedSet) that are deactivating at height. More...