Skip to main content

EntityPoolId.ixx File

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

Included Headers

#include <cstdint> #include <string_view> #include <cstddef> #include <helios.ecs.types.StrongId> #include <helios.engine.core.types> #include <helios.engine.core.types.FuncDefs>

Namespaces Index

namespacehelios
namespaceengine
namespaceruntime
namespacepooling
namespacetypes

Classes Index

structEntityPoolIdTag

Tag type for EntityPoolId. More...

structhash<helios::engine::runtime::pooling::types::EntityPoolId>

Hash specialization for EntityPoolId. More...

Description

Strongly-typed identifier for EntityPool instances.

File Listing

The file content with the documentation metadata removed is:

1
4module;
5
6#include <cstdint>
7#include <string_view>
8#include <cstddef>
9
10export module helios.engine.runtime.pooling.types.EntityPoolId;
11
12import helios.engine.core.types.FuncDefs;
13import helios.engine.core.types;
14import helios.ecs.types.StrongId;
15
17
22
33 using EntityPoolId = helios::ecs::types::StrongId<EntityPoolIdTag>;
34
35}
36
40template<>
41struct std::hash<helios::engine::runtime::pooling::types::EntityPoolId> {
43 return id.value();
44 }
45};

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.