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

Public Member Functions

 SingleEntityRange ()
 
 SingleEntityRange (std::unique_ptr< TEntity > &&pEntity)
 
std::vector< std::shared_ptr< TEntity > > detachEntities ()
 
SingleBufferRange 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 ()
 

Private Attributes

std::shared_ptr< TEntity > m_pSingleEntity
 

Constructor & Destructor Documentation

◆ SingleEntityRange() [1/2]

template<typename TEntity>
catapult::model::EntityRange< TEntity >::SingleEntityRange::SingleEntityRange ( )
inline

◆ SingleEntityRange() [2/2]

template<typename TEntity>
catapult::model::EntityRange< TEntity >::SingleEntityRange::SingleEntityRange ( std::unique_ptr< TEntity > &&  pEntity)
inlineexplicit
Here is the call graph for this function:

Member Function Documentation

◆ copy()

template<typename TEntity>
SingleBufferRange catapult::model::EntityRange< TEntity >::SingleEntityRange::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 >::SingleEntityRange::detachEntities ( )
inline
Here is the call graph for this function:

Member Data Documentation

◆ m_pSingleEntity

template<typename TEntity>
std::shared_ptr<TEntity> catapult::model::EntityRange< TEntity >::SingleEntityRange::m_pSingleEntity
private

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