Engine → Core → json_conversion.h
reflect::field_ref
| Type | Struct |
| Namespace | conjure::core::json |
| Include File Path | engine/include/conjure/core/reflect/json_conversion.h |
| Source File Path | engine/src/core/reflect/json_conversion.cpp |
| API ↗ | Reflection |
Syntax
Variables
| Access | Name | Type | Default | Description |
|---|---|---|---|---|
| public | data | void * | nullptr | |
| public | field | const field_info * | nullptr | |
| public | isElement | bool | false | |
| public | path | std::string | {} |
Functions
Public
is_valid
is_valid[[nodiscard]] bool is_valid() const noexcept;True when both the data and the description are set.
kind
kind[[nodiscard]] field_kind kind() const noexcept;The kind of the referenced value (the element kind for an array element).