Identifier for reflected member variable types. More...
#include <VariableID.h>
Public Member Functions | |
| constexpr | VariableID ()=default |
| constexpr | VariableID (const TypeID &id) |
| Construct a VariableID from an existing TypeID. | |
Static Public Member Functions | |
| template<typename T> | |
| static constexpr VariableID | Create () |
| Generate a VariableID for a given type. | |
Identifier for reflected member variable types.
VariableID wraps a TypeID to uniquely identify the type of a reflected member variable. It is used as a lightweight handle within VariableData and related reflection metadata.
VariableIDs do not store variable names or layout information; they solely identify the associated type.
|
constexprdefault |
|
inlineexplicitconstexpr |
Construct a VariableID from an existing TypeID.
| id | The TypeID describing the variable's type. |
|
inlinestaticconstexpr |
Generate a VariableID for a given type.
| T | The type to generate an identifier for. |
This function forwards to TypeID::Create<T>() and wraps the result in a VariableID for use in variable reflection metadata.