CatapultServer
v0.5.0.1 (Elephant)
|
Classes | |
class | iterator |
Actual iterator. More... | |
struct | State |
Public Types | |
using | value_type = TEntity |
Public Member Functions | |
constexpr | BasicContiguousEntityContainer (TEntity *pEntity, size_t entitiesSize, EntityContainerErrorPolicy errorPolicy) |
auto | cbegin () const |
Returns a const iterator that represents the first entity. More... | |
auto | cend () const |
Returns a const iterator that represents one past the last entity. More... | |
auto | begin () const |
Returns an iterator that represents the first entity. More... | |
auto | end () const |
Returns an iterator that represents one past the last entity. More... | |
bool | hasError () const |
Gets a value indicating whether or not there was an iteration error. More... | |
Private Attributes | |
TEntity * | m_pStart |
State | m_state |
Container wrapper around contiguous memory structures that have a Size field indicating their size in bytes.
using catapult::model::BasicContiguousEntityContainer< TEntity >::value_type = TEntity |
|
inlineconstexpr |
Creates a container around pEntity structures spanning over entitiesSize bytes with the specified error policy (errorPolicy).
|
inline |
Returns an iterator that represents the first entity.
|
inline |
Returns a const iterator that represents the first entity.
|
inline |
Returns a const iterator that represents one past the last entity.
|
inline |
Returns an iterator that represents one past the last entity.
|
inline |
Gets a value indicating whether or not there was an iteration error.
|
private |
|
mutableprivate |