Struct component_container_base

Inheritance Relationships

Derived Types

Struct Documentation

struct legion::core::ecs::component_container_base

Subclassed by legion::core::ecs::component_container< std::nullptr_t >, legion::core::ecs::component_container< void >

Public Functions

component_container_base() = default
template<typename component_type>
inline component_container<component_type> &cast() noexcept
template<typename component_type>
inline const component_container<component_type> &cast() const noexcept

Public Members

id_type m_componentid = invalid_id

Protected Functions

inline component_container_base(id_type componentId) noexcept
inline id_type getComponentTypeId() const noexcept