SolarSim
Loading...
Searching...
No Matches
solarsim::Registry::ComponentStorage< Component > Struct Template Reference

Typed component storage for a specific component type. More...

Inheritance diagram for solarsim::Registry::ComponentStorage< Component >:
solarsim::Registry::IComponentStorage

Data Fields

std::unordered_map< Entity, Component > components

Additional Inherited Members

Public Member Functions inherited from solarsim::Registry::IComponentStorage
virtual ~IComponentStorage ()=default

Detailed Description

template<typename Component>
struct solarsim::Registry::ComponentStorage< Component >

Typed component storage for a specific component type.

Template Parameters
ComponentThe component type to store

Field Documentation

◆ components

template<typename Component>
std::unordered_map<Entity, Component> solarsim::Registry::ComponentStorage< Component >::components

Entity-to-component map


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