Gaia-ECS v0.9.3
A simple and powerful entity component system
Loading...
Searching...
No Matches
gaia::mem::data_view_policy_aos_set< ValueType > Struct Template Reference
+ Inheritance diagram for gaia::mem::data_view_policy_aos_set< ValueType >:

Public Types

using view_policy = data_view_policy_aos< ValueType >
 

Public Member Functions

 data_view_policy_aos_set (std::span< uint8_t > data)
 
 data_view_policy_aos_set (std::span< const uint8_t > data)
 
template<typename C >
 data_view_policy_aos_set (const C &c)
 
GAIA_NODISCARD ValueType & operator[] (size_t idx) noexcept
 
GAIA_NODISCARD const ValueType & operator[] (size_t idx) const noexcept
 
GAIA_NODISCARD auto data () const noexcept
 
GAIA_NODISCARD auto size () const noexcept
 

Public Attributes

std::span< uint8_t > m_data
 Raw data pointed to by the view policy.
 

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