ComponentQuery::Iterator
Iterator for query results.
Namespace: enjin2
Header: include/enjin2/ui/system.hpp
Public Methods
Iterator(std::function< bool(Entity)> f, Entity start, size_t index)
Construct iterator with filter and starting position.
fEntity filter function startStarting entity indexStarting entity index
Entity operator*() const
Dereference to get current entity.
Current entity
Iterator & operator++()
Advance to next matching entity.
Reference to this iterator
bool operator!=(const Iterator &other) const
Inequality comparison.
otherIterator to compare with True if iterators are at different positions