![]() |
Gaia-ECS v1.0.0
A simple and powerful entity component system
|
Proxy used to read or assign one complete SoA value. More...
#include <data_layout_policy.h>
Public Member Functions | |
| constexpr | accessor (std::span< uint8_t > data, size_t idx) |
| Creates a value proxy. | |
| constexpr void | operator= (const ValueType &val) noexcept |
| Assigns a copied value to the selected SoA fields. | |
| constexpr void | operator= (ValueType &&val) noexcept |
| Assigns a moved value to the selected SoA fields. | |
| GAIA_NODISCARD constexpr | operator ValueType () const noexcept |
| Reconstructs the selected value. | |
Proxy used to read or assign one complete SoA value.
|
inlineconstexpr |
Creates a value proxy.
| data | Backing byte span. |
| idx | Value index. |
|
inlineconstexprnoexcept |
Reconstructs the selected value.
|
inlineconstexprnoexcept |
Assigns a copied value to the selected SoA fields.
| val | Source value. |
|
inlineconstexprnoexcept |
Assigns a moved value to the selected SoA fields.
| val | Source value. |