Member variable registration utilities for the reflection system. More...
#include "Raven/Core/Base.h"#include "Raven/Reflection/ReflectionUtils.h"#include "Raven/Reflection/VariableID.h"#include "Raven/Reflection/VariableData.h"#include "Raven/Reflection/Type.h"Classes | |
| struct | Raven::RegisterMember< Parent, Member > |
| Register a member variable for reflection. More... | |
Namespaces | |
| namespace | Raven |
Macros | |
| #define | REFLECT_MEMBER_INTERN(Type, Member, ID) |
| #define | REFLECT_MEMBER(Type, Member) |
| Register a member variable for reflection via static initialization. | |
Member variable registration utilities for the reflection system.
Provides helpers for registering member variables with the reflection system, associating them with their owning types and capturing layout information such as offset, size, and alignment.
Registration is typically performed via static initialization.
| #define REFLECT_MEMBER | ( | Type, | |
| Member ) |
Register a member variable for reflection via static initialization.
Expands to a static registration helper that captures the member name, offset, size, and alignment, and inserts it into the owning type's metadata.
This macro must be used at namespace scope.