![]() |
Gaia-ECS v0.9.3
A simple and powerful entity component system
|
Public Types | |
| using | value_type = T |
| using | reference = T & |
| using | const_reference = const T & |
| using | pointer = T * |
| using | const_pointer = const T * |
| using | view_policy = mem::data_view_policy_aos< T > |
| using | difference_type = detail::difference_type |
| using | size_type = detail::size_type |
| using | iterator = sparse_iterator< T, PageCapacity, Allocator > |
| using | const_iterator = const_sparse_iterator< T, PageCapacity, Allocator > |
Public Member Functions | |
| sparse_page (const sparse_page &other) | |
| sparse_page & | operator= (const sparse_page &other) |
| sparse_page (sparse_page &&other) noexcept | |
| sparse_page & | operator= (sparse_page &&other) noexcept |
| GAIA_NODISCARD pointer | data () noexcept |
| GAIA_NODISCARD const_pointer | data () const noexcept |
| GAIA_NODISCARD auto & | set_id (size_type pos) noexcept |
| GAIA_NODISCARD auto | get_id (size_type pos) const noexcept |
| GAIA_NODISCARD decltype(auto) | set_data (size_type pos) noexcept |
| GAIA_NODISCARD decltype(auto) | get_data (size_type pos) const noexcept |
| GAIA_NODISCARD bool | allocated () const noexcept |
| void | add () |
| decltype(auto) | add_data (uint32_t idx, const T &arg) |
| decltype(auto) | add_data (uint32_t idx, T &&arg) |
| void | del_data (uint32_t idx) noexcept |
| GAIA_NODISCARD size_type | size () const noexcept |
| GAIA_NODISCARD bool | empty () const noexcept |
| GAIA_NODISCARD decltype(auto) | front () noexcept |
| GAIA_NODISCARD decltype(auto) | front () const noexcept |
| GAIA_NODISCARD decltype(auto) | back () noexcept |
| GAIA_NODISCARD decltype(auto) | back () const noexcept |
| GAIA_NODISCARD auto | begin () noexcept |
| GAIA_NODISCARD auto | begin () const noexcept |
| GAIA_NODISCARD auto | cbegin () const noexcept |
| GAIA_NODISCARD auto | rbegin () noexcept |
| GAIA_NODISCARD auto | rbegin () const noexcept |
| GAIA_NODISCARD auto | crbegin () const noexcept |
| GAIA_NODISCARD auto | end () noexcept |
| GAIA_NODISCARD auto | end () const noexcept |
| GAIA_NODISCARD auto | cend () const noexcept |
| GAIA_NODISCARD auto | rend () noexcept |
| GAIA_NODISCARD auto | rend () const noexcept |
| GAIA_NODISCARD auto | crend () const noexcept |
| GAIA_NODISCARD bool | operator== (const sparse_page &other) const |
| GAIA_NODISCARD constexpr bool | operator!= (const sparse_page &other) const |