Class component_container

Class Documentation

class legion::core::ecs::component_container

This is just a vector with a common base class.

Public Types

using underlying_type = std::vector<component_type>
using allocator_type = typename underlying_type::allocator_type

Public Functions

inline component_container() noexcept
inline explicit component_container(const allocator_type &alloc) noexcept
inline component_container(size_type count, const component_type &value, const allocator_type &alloc = allocator_type())
inline explicit component_container(size_type count, const allocator_type &alloc = allocator_type())
template<typename InputIt>
inline component_container(InputIt first, InputIt last, const allocator_type &alloc = allocator_type())
inline component_container(const underlying_type &other)
inline component_container(const component_container &other)
inline component_container(const underlying_type &other, const allocator_type &alloc)
inline component_container(const component_container &other, const allocator_type &alloc)
inline component_container(underlying_type &&other) noexcept
inline component_container(component_container &&other) noexcept
inline component_container(underlying_type &&other, const allocator_type &alloc)
inline component_container(component_container &&other, const allocator_type &alloc)
inline component_container(std::initializer_list<component_type> init, const allocator_type &alloc = allocator_type())