Skip to main content

SpawnProfileId.ixx File

Strongly-typed identifier for SpawnProfile instances. More...

Included Headers

#include <cstdint> #include <string_view> #include <helios.core.data> #include <helios.core.types> #include <helios.core.algorithms>

Namespaces Index

namespacehelios
namespaceengine

Main engine module aggregating core infrastructure and game systems. More...

namespaceruntime

Runtime infrastructure for game execution and lifecycle orchestration. More...

namespacespawn

Entity spawning infrastructure for the helios engine. More...

namespacetypes

Classes Index

structSpawnProfileIdTag

Tag type for SpawnProfileId. More...

structhash<helios::engine::runtime::spawn::types::SpawnProfileId>

Hash specialization for SpawnProfileId. More...

Description

Strongly-typed identifier for SpawnProfile instances.

File Listing

The file content with the documentation metadata removed is:

1/**
2 * @file SpawnProfileId.ixx
3 * @brief Strongly-typed identifier for SpawnProfile instances.
4 */
5module;
6
7#include <cstdint>
8#include <string_view>
9
10export module helios.engine.runtime.spawn.types.SpawnProfileId;
11
12import helios.core.algorithms;
13import helios.core.types;
14import helios.core.data;
15
17
18 /**
19 * @brief Tag type for SpawnProfileId.
20 */
22
23 /**
24 * @brief Strongly-typed identifier for SpawnProfile instances.
25 *
26 * @details Provides type-safe identification for spawn profiles,
27 * which define how entities are spawned (pool reference, placer,
28 * initializer). Uses FNV-1a hashing for compile-time string-based
29 * construction.
30 *
31 * @see helios::core::data::StrongId
32 * @see SpawnRuleId
33 * @see GameObjectPoolId
34 */
36
37}
38
39/**
40 * @brief Hash specialization for SpawnProfileId.
41 */
42template<>
43struct std::hash<helios::engine::runtime::spawn::types::SpawnProfileId> {
45 return id.value();
46 }
47
48};

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.