StateToIdMapPair.ixx File
Combined policy mapping two state types to IDs. More...
Included Headers
#include <vector>
#include <span>
#include <helios/helios_config.h>
#include <cassert>
#include <bit>
#include <algorithm>
#include <iterator>
#include <helios.engine.common.types.ViewportId>
#include <helios.core.types>
#include <helios.engine.mechanics.match.types>
#include <helios.engine.state.types>
#include <helios.engine.state.StateToIdMap>
Namespaces Index
| namespace | helios |
| namespace | engine |
|
Main engine module aggregating core infrastructure and game systems. More... | |
| namespace | state |
|
Generic, template-based state management system. More... | |
Classes Index
| class | StateToIdMapPair<LState, RState, TId> |
|
Combines two StateToIdMap instances for dual-state lookups. More... | |
Description
Combined policy mapping two state types to IDs.
File Listing
The file content with the documentation metadata removed is:
25using namespace helios::engine::common::types;
26using namespace helios::engine::state::types;
27using namespace helios::engine::mechanics::match::types;
29export namespace helios::engine::state {
43 class StateToIdMapPair {
48 StateToIdMap<LState, TId> lft_;
53 StateToIdMap<RState, TId> rgt_;
67 void mergeInto(std::vector<TId>& out, std::span<const TId> lft, std::span<const TId> rgt) const {
86 StateToIdMapPair& add(LState state, TId id) {
99 StateToIdMapPair& add(RState state, TId id) {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.