CatapultServer  v0.5.0.1 (Elephant)
catapult::model::EntityRange< TEntity >::MultiBufferRange Class Reference
Inheritance diagram for catapult::model::EntityRange< TEntity >::MultiBufferRange:
Collaboration diagram for catapult::model::EntityRange< TEntity >::MultiBufferRange:

Public Member Functions

 MultiBufferRange ()
 
 MultiBufferRange (std::vector< EntityRange > &&ranges)
 
std::vector< std::shared_ptr< TEntity > > detachEntities ()
 
MultiBufferRange copy () const
 
- Public Member Functions inherited from catapult::model::EntityRange< TEntity >::SubRange
 SubRange ()
 
 SubRange (size_t numBytes)
 
 SubRange (SubRange &&rhs)
 
SubRangeoperator= (SubRange &&rhs)
 
constexpr bool empty () const
 
size_t size () const
 
constexpr size_t totalSize () const
 
constexpr auto & entities () const
 
auto & entities ()
 
void reset ()
 

Static Private Member Functions

static size_t CalculateTotalSize (const std::vector< EntityRange > &ranges)
 

Private Attributes

std::vector< EntityRangem_ranges
 

Constructor & Destructor Documentation

◆ MultiBufferRange() [1/2]

template<typename TEntity>
catapult::model::EntityRange< TEntity >::MultiBufferRange::MultiBufferRange ( )
inline
Here is the caller graph for this function:

◆ MultiBufferRange() [2/2]

template<typename TEntity>
catapult::model::EntityRange< TEntity >::MultiBufferRange::MultiBufferRange ( std::vector< EntityRange > &&  ranges)
inlineexplicit
Here is the call graph for this function:

Member Function Documentation

◆ CalculateTotalSize()

template<typename TEntity>
static size_t catapult::model::EntityRange< TEntity >::MultiBufferRange::CalculateTotalSize ( const std::vector< EntityRange > &  ranges)
inlinestaticprivate
Here is the call graph for this function:

◆ copy()

template<typename TEntity>
MultiBufferRange catapult::model::EntityRange< TEntity >::MultiBufferRange::copy ( ) const
inline
Here is the call graph for this function:

◆ detachEntities()

template<typename TEntity>
std::vector<std::shared_ptr<TEntity> > catapult::model::EntityRange< TEntity >::MultiBufferRange::detachEntities ( )
inline
Here is the call graph for this function:

Member Data Documentation

◆ m_ranges

template<typename TEntity>
std::vector<EntityRange> catapult::model::EntityRange< TEntity >::MultiBufferRange::m_ranges
private

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