|
| | OrderByTravView (QueryImpl &query, Entity relation, TravOrder order) |
| | Creates a query traversal view.
|
| |
| template<typename Func > |
| void | each (Func func) |
| | Iterates the query result through the requested relation order.
|
| |
◆ OrderByTravView()
| gaia::ecs::detail::QueryImpl::OrderByTravView::OrderByTravView |
( |
QueryImpl & |
query, |
|
|
Entity |
relation, |
|
|
TravOrder |
order |
|
) |
| |
|
inline |
Creates a query traversal view.
- Parameters
-
| query | Query used to collect matching entities. |
| relation | Relation used to order the matched entities. |
| order | Traversal order to apply. |
◆ each()
template<typename Func >
| void gaia::ecs::detail::QueryImpl::OrderByTravView::each |
( |
Func |
func | ) |
|
|
inline |
Iterates the query result through the requested relation order.
- Template Parameters
-
- Parameters
-
| func | Callback invoked for each matched entity or iterator run. |
The documentation for this class was generated from the following file:
- /home/runner/work/gaia-ecs/gaia-ecs/include/gaia/ecs/query.h