Template Class ComponentArray

Class Documentation

template<typename Component, class A = std::allocator<Component>>
class ComponentArray

Public Functions

ComponentArray()
ComponentArrayIterator<Component> begin()
ComponentArrayIterator<Component> end()
void push_back(const Component &item)
void emplace_back(Entity &owner, const JSON::json &componentData)
bool erase(Entity &entity)
Component &operator[](int index)
size_t size() const
bool empty() const
Component front()
Component back()