Gaia-ECS v0.9.3
A simple and powerful entity component system
Loading...
Searching...
No Matches
gaia::ecs::detail::SoATermFieldReadProxyEntity< U, Item > Struct Template Reference

Read-only field proxy for a single SoA member in entity-backed storage. Resolves the whole value via the world store and projects the requested field. More...

#include <chunk_iterator.h>

Public Types

using view_policy = mem::data_view_policy_soa_get< U::gaia_Data_Layout, U >
 
using value_type = typename view_policy::template data_view_policy_idx_info< Item >::const_value_type
 

Public Member Functions

GAIA_NODISCARD value_type operator[] (size_t idx) const
 
GAIA_NODISCARD constexpr size_t size () const noexcept
 

Public Attributes

const EntitypEntities = nullptr
 
WorldpWorld = nullptr
 
Entity id = EntityBad
 
uint32_t cnt = 0
 

Detailed Description

template<typename U, size_t Item>
struct gaia::ecs::detail::SoATermFieldReadProxyEntity< U, Item >

Read-only field proxy for a single SoA member in entity-backed storage. Resolves the whole value via the world store and projects the requested field.


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