CatapultServer  v0.5.0.1 (Elephant)
catapult::deltaset::OrderedSet< TElementTraits, TStorageTraits > Class Template Reference

A base set with ordered keys. More...

Inheritance diagram for catapult::deltaset::OrderedSet< TElementTraits, TStorageTraits >:
Collaboration diagram for catapult::deltaset::OrderedSet< TElementTraits, TStorageTraits >:

Private Types

using BaseType = BaseSet< TElementTraits, TStorageTraits, detail::OrderedSetCommitPolicy< TStorageTraits > >
 

Additional Inherited Members

- Public Types inherited from catapult::deltaset::BaseSet< TElementTraits, TStorageTraits, detail::OrderedSetCommitPolicy< TStorageTraits > >
using ElementType = typename TElementTraits::ElementType
 
using SetType = typename TStorageTraits ::SetType
 
using KeyType = typename TStorageTraits ::KeyType
 
using FindTraits = FindTraitsT< ElementType, TStorageTraits ::AllowsNativeValueModification >
 
using DeltaType = BaseSetDelta< TElementTraits, TStorageTraits >
 
using FindConstIterator = BaseSetFindIterator< FindTraits, TStorageTraits >
 
- Public Member Functions inherited from catapult::deltaset::BaseSet< TElementTraits, TStorageTraits, detail::OrderedSetCommitPolicy< TStorageTraits > >
 BaseSet (TArgs &&... args)
 
bool empty () const
 Gets a value indicating whether or not the set is empty. More...
 
size_t size () const
 Gets the size of this set. More...
 
FindConstIterator find (const KeyType &key) const
 
bool contains (const KeyType &key) const
 
std::shared_ptr< DeltaTyperebase ()
 Returns a delta based on the same original elements as this set. More...
 
std::shared_ptr< DeltaTyperebaseDetached () const
 
void commit (TArgs &&... args)
 
- Public Member Functions inherited from catapult::utils::MoveOnly
constexpr MoveOnly ()=default
 Default constructor. More...
 
 ~MoveOnly ()=default
 Default destructor. More...
 
 MoveOnly (const NonCopyable &)=delete
 Disabled copy constructor. More...
 
 MoveOnly (MoveOnly &&)=default
 Default move constructor. More...
 
MoveOnlyoperator= (const MoveOnly &)=delete
 Disabled assignment operator. More...
 
MoveOnlyoperator= (MoveOnly &&)=default
 Default move assignment operator. More...
 

Detailed Description

template<typename TElementTraits, typename TStorageTraits = SetStorageTraits<detail::OrderedSetType<TElementTraits>>>
class catapult::deltaset::OrderedSet< TElementTraits, TStorageTraits >

A base set with ordered keys.

Member Typedef Documentation

◆ BaseType

template<typename TElementTraits , typename TStorageTraits = SetStorageTraits<detail::OrderedSetType<TElementTraits>>>
using catapult::deltaset::OrderedSet< TElementTraits, TStorageTraits >::BaseType = BaseSet<TElementTraits, TStorageTraits, detail::OrderedSetCommitPolicy<TStorageTraits> >
private

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