|
SDEngine
Game Engine
|
#include <EntityManager.hpp>
Collaboration diagram for sd::ViewImpl< ExtraComponents, Components >::Iterator:Public Types | |
| using | iterator_category = std::forward_iterator_tag |
| using | value_type = std::tuple< Entity, Components &... > |
| using | difference_type = std::ptrdiff_t |
| using | pointer = void |
| using | reference = value_type |
Public Member Functions | |
| Iterator (manager_type &em, const ArenaVec< Entity > *dense_entities, USize idx) | |
| Iterator & | operator++ () |
| bool | operator== (const Iterator &other) const |
| bool | operator!= (const Iterator &other) const |
| std::tuple< Entity, Components &... > | operator* () const |
| void | next () |
| bool | is_valid () const |
Public Attributes | |
| manager_type & | manager |
| const ArenaVec< Entity > * | entities |
| USize | index |
| using sd::ViewImpl< ExtraComponents, Components >::Iterator::difference_type = std::ptrdiff_t |
| using sd::ViewImpl< ExtraComponents, Components >::Iterator::iterator_category = std::forward_iterator_tag |
| using sd::ViewImpl< ExtraComponents, Components >::Iterator::pointer = void |
| using sd::ViewImpl< ExtraComponents, Components >::Iterator::reference = value_type |
| using sd::ViewImpl< ExtraComponents, Components >::Iterator::value_type = std::tuple<Entity, Components&...> |
| ViewImpl::Iterator::Iterator | ( | manager_type & | em, |
| const ArenaVec< Entity > * | dense_entities, | ||
| USize | idx | ||
| ) |
| bool ViewImpl::Iterator::is_valid | ( | ) | const |
| void ViewImpl::Iterator::next | ( | ) |
|
inline |
| std::tuple< Entity, Components &... > ViewImpl::Iterator::operator* | ( | ) | const |
| ViewImpl< ExtraComponents, Components... >::Iterator & ViewImpl::Iterator::operator++ | ( | ) |
|
inline |
| const ArenaVec<Entity>* sd::ViewImpl< ExtraComponents, Components >::Iterator::entities |
| USize sd::ViewImpl< ExtraComponents, Components >::Iterator::index |
| manager_type& sd::ViewImpl< ExtraComponents, Components >::Iterator::manager |