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

Public Member Functions

 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

size_t m_numBytes
 
std::vector< TEntity * > m_entities
 

Constructor & Destructor Documentation

◆ SubRange() [1/3]

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

◆ SubRange() [2/3]

template<typename TEntity>
catapult::model::EntityRange< TEntity >::SubRange::SubRange ( size_t  numBytes)
inlineexplicit

◆ SubRange() [3/3]

template<typename TEntity>
catapult::model::EntityRange< TEntity >::SubRange::SubRange ( SubRange &&  rhs)
inline

Member Function Documentation

◆ empty()

template<typename TEntity>
constexpr bool catapult::model::EntityRange< TEntity >::SubRange::empty ( ) const
inlineconstexpr
Here is the caller graph for this function:

◆ entities() [1/2]

template<typename TEntity>
auto& catapult::model::EntityRange< TEntity >::SubRange::entities ( )
inline

◆ entities() [2/2]

template<typename TEntity>
constexpr auto& catapult::model::EntityRange< TEntity >::SubRange::entities ( ) const
inlineconstexpr
Here is the caller graph for this function:

◆ operator=()

template<typename TEntity>
SubRange& catapult::model::EntityRange< TEntity >::SubRange::operator= ( SubRange &&  rhs)
inline

◆ reset()

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

◆ size()

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

◆ totalSize()

template<typename TEntity>
constexpr size_t catapult::model::EntityRange< TEntity >::SubRange::totalSize ( ) const
inlineconstexpr
Here is the caller graph for this function:

Member Data Documentation

◆ m_entities

template<typename TEntity>
std::vector<TEntity*> catapult::model::EntityRange< TEntity >::SubRange::m_entities
private

◆ m_numBytes

template<typename TEntity>
size_t catapult::model::EntityRange< TEntity >::SubRange::m_numBytes
private

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