|
co_ecs 0.9.0
Cobalt ECS
|
Chunk view iterator. More...
#include <chunk.hpp>
Public Types | |
| using | iterator_concept = std::forward_iterator_tag |
| using | iterator_category = std::forward_iterator_tag |
| using | difference_type = int |
| using | value_type = std::tuple<Args...> |
| using | reference = std::tuple<Args...> |
| using | element_type = reference |
Public Member Functions | |
| constexpr | iterator ()=default |
| Default constructor. | |
| constexpr | ~iterator ()=default |
| Default destructor. | |
| constexpr | iterator (chunk_type c, std::size_t index=0) |
| Create iterator out of chunk pointing to the index. | |
| constexpr | iterator (const iterator &rhs) noexcept=default |
| Default copy constructor. | |
| constexpr auto | operator= (const iterator &rhs) noexcept -> iterator &=default |
| Default copy assignment operator. | |
| constexpr | iterator (iterator &&rhs) noexcept=default |
| Default move constructor. | |
| constexpr auto | operator= (iterator &&rhs) noexcept -> iterator &=default |
| Default move assignment operator. | |
| constexpr auto | operator++ () noexcept -> iterator & |
| Pre-increment iterator. | |
| constexpr auto | operator++ (int) noexcept -> iterator |
| Post-increment iterator. | |
| constexpr auto | operator* () const noexcept -> reference |
| Dereference iterator. | |
| constexpr bool | operator== (const iterator &rhs) const noexcept |
| Equality operator. | |
| constexpr auto | operator<=> (const iterator &rhs) const noexcept |
| Spaceship operator. | |
Chunk view iterator.
| using co_ecs::chunk_view< Args >::iterator::difference_type = int |
| using co_ecs::chunk_view< Args >::iterator::element_type = reference |
| using co_ecs::chunk_view< Args >::iterator::iterator_category = std::forward_iterator_tag |
| using co_ecs::chunk_view< Args >::iterator::iterator_concept = std::forward_iterator_tag |
| using co_ecs::chunk_view< Args >::iterator::reference = std::tuple<Args...> |
| using co_ecs::chunk_view< Args >::iterator::value_type = std::tuple<Args...> |
|
constexprdefault |
Default constructor.
|
constexprdefault |
Default destructor.
|
inlineexplicitconstexpr |
Create iterator out of chunk pointing to the index.
| c | Chunk reference |
| index | Index this iterator is pointing to |
|
constexprdefaultnoexcept |
Default copy constructor.
| rhs | Right hand side iterator |
|
constexprdefaultnoexcept |
Default move constructor.
| rhs | Right hand side iterator |
|
inlineconstexprnoexcept |
Dereference iterator.
|
inlineconstexprnoexcept |
Pre-increment iterator.
|
inlineconstexprnoexcept |
Post-increment iterator.
|
inlineconstexprnoexcept |
Spaceship operator.
| rhs | Right hand side |
|
constexprdefaultnoexcept |
Default copy assignment operator.
| rhs | Right hand side iterator |
|
constexprdefaultnoexcept |
Default move assignment operator.
| rhs | Right hand side iterator |
|
inlineconstexprnoexcept |
Equality operator.
| rhs | Right hand side |