![]() |
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::auto_view_policy< T > |
| using | difference_type = detail::difference_type |
| using | size_type = detail::size_type |
| template<bool IsFwd> | |
| using | iterator_base = mem_page_iterator< T, Allocator, IsFwd > |
| using | iterator = iterator_base< true > |
| using | iterator_reverse = iterator_base< false > |
| template<bool IsFwd> | |
| using | iterator_soa_base = mem_page_iterator_soa< T, Allocator, IsFwd > |
| using | iterator_soa = iterator_soa_base< true > |
| using | iterator_soa_reverse = iterator_soa_base< false > |
| using | PageData = mem_page_data< T > |
Public Member Functions | |
| mem_page (const mem_page &other) | |
| mem_page & | operator= (const mem_page &other) |
| mem_page (mem_page &&other) noexcept | |
| mem_page & | operator= (mem_page &&other) noexcept |
| GAIA_NODISCARD pointer | data () noexcept |
| GAIA_NODISCARD const_pointer | data () const noexcept |
| GAIA_NODISCARD decltype(auto) | set_data (size_type pos) noexcept |
| GAIA_NODISCARD decltype(auto) | operator[] (size_type pos) noexcept |
| GAIA_NODISCARD decltype(auto) | get_data (size_type pos) const noexcept |
| GAIA_NODISCARD decltype(auto) | operator[] (size_type pos) const noexcept |
| void | add () |
| decltype(auto) | add_data (uint32_t idx, const T &arg) |
| decltype(auto) | add_data (uint32_t idx, T &&arg) |
| template<typename... Args> | |
| decltype(auto) | emplace_data (uint32_t idx, Args &&... args) |
| void | del_data (uint32_t idx) noexcept |
| GAIA_NODISCARD bool | has_data (uint32_t idx) const 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 () const noexcept |
| GAIA_NODISCARD auto | end () const noexcept |
| GAIA_NODISCARD auto | rbegin () const noexcept |
| GAIA_NODISCARD auto | rend () const noexcept |
| GAIA_NODISCARD bool | operator== (const mem_page &other) const noexcept |
| GAIA_NODISCARD bool | operator!= (const mem_page &other) const noexcept |
Static Public Attributes | |
| static constexpr uint32_t | PageCapacity = PageData::PageCapacity |
| static constexpr PageData::bit_set | s_dummyBitSet {} |