CatapultServer  v0.5.0.1 (Elephant)
catapult::cache::IterationMixin< TSet >::IterableView Struct Reference

An iterable view of the cache. More...

Public Member Functions

 IterableView (const TSet &set)
 Creates a view around set. More...
 
auto begin () const
 Returns a const iterator to the first element of the underlying set. More...
 
auto end () const
 Returns a const iterator to the element following the last element of the underlying set. More...
 

Private Attributes

const TSet & m_set
 

Detailed Description

template<typename TSet>
struct catapult::cache::IterationMixin< TSet >::IterableView

An iterable view of the cache.

Constructor & Destructor Documentation

◆ IterableView()

template<typename TSet >
catapult::cache::IterationMixin< TSet >::IterableView::IterableView ( const TSet &  set)
inlineexplicit

Creates a view around set.

Member Function Documentation

◆ begin()

template<typename TSet >
auto catapult::cache::IterationMixin< TSet >::IterableView::begin ( ) const
inline

Returns a const iterator to the first element of the underlying set.

Here is the call graph for this function:

◆ end()

template<typename TSet >
auto catapult::cache::IterationMixin< TSet >::IterableView::end ( ) const
inline

Returns a const iterator to the element following the last element of the underlying set.

Here is the call graph for this function:

Member Data Documentation

◆ m_set

template<typename TSet >
const TSet& catapult::cache::IterationMixin< TSet >::IterableView::m_set
private

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