![]() |
Raven Engine v0.1
|
Global runtime type registry for Raven Engine. More...
#include <Type.h>
Public Member Functions | |
| template<typename T> | |
| constexpr void | RegisterType (const TypeID &typeHash) |
| Registers a type T with the registry if not already registered. | |
| TypeData & | GetTypeData (const TypeID &id) |
| Retrieves type metadata by ID. | |
| const bool | IsTypeRegistered (const TypeID &id) const noexcept |
| Checks if a type is registered. | |
Static Public Member Functions | |
| static TypeRegistry & | Get () |
| Singleton access to the TypeRegistry. | |
Global runtime type registry for Raven Engine.
Manages registration and lookup of types through unique TypeID keys. Used internally to support reflection, serialization, and editor tooling. Not intended for external use. Ensures types are registered exactly once.
|
inlinestatic |
Singleton access to the TypeRegistry.
|
inlinenoexcept |
Checks if a type is registered.
| id | The TypeID to query. |
|
inlineconstexpr |
Registers a type T with the registry if not already registered.
| T | The type to register. |