CatapultServer  v0.5.0.1 (Elephant)
catapult::cache::DifficultyInfoRange Class Reference

A range of block difficulty infos. More...

Public Member Functions

 DifficultyInfoRange (const IteratorType &begin, const IteratorType &end)
 Creates a range around two iterators begin and end. More...
 
IteratorType begin () const
 Returns an iterator that represents the first element. More...
 
IteratorType end () const
 Returns an iterator that represents one past the last element. More...
 

Private Types

using IteratorType = BlockDifficultyCacheTypes::PrimaryTypes::BaseSetType::SetType::MemorySetType::const_iterator
 

Private Attributes

const IteratorType m_begin
 
const IteratorType m_end
 

Detailed Description

A range of block difficulty infos.

Member Typedef Documentation

◆ IteratorType

using catapult::cache::DifficultyInfoRange::IteratorType = BlockDifficultyCacheTypes::PrimaryTypes::BaseSetType::SetType::MemorySetType::const_iterator
private

Constructor & Destructor Documentation

◆ DifficultyInfoRange()

catapult::cache::DifficultyInfoRange::DifficultyInfoRange ( const IteratorType begin,
const IteratorType end 
)
inline

Creates a range around two iterators begin and end.

Member Function Documentation

◆ begin()

IteratorType catapult::cache::DifficultyInfoRange::begin ( ) const
inline

Returns an iterator that represents the first element.

◆ end()

IteratorType catapult::cache::DifficultyInfoRange::end ( ) const
inline

Returns an iterator that represents one past the last element.

Member Data Documentation

◆ m_begin

const IteratorType catapult::cache::DifficultyInfoRange::m_begin
private

◆ m_end

const IteratorType catapult::cache::DifficultyInfoRange::m_end
private

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