|
CeresEngine 0.2.0
A game development framework
|
A context struct that contains information for the decoding of a property. More...
#include <CeresEngine/Serialization/Deserializer.hpp>
Public Member Functions | |
| void | cancelInplace () |
| Cancels the inplace construction in case the implementation cannot support it. | |
Public Attributes | |
| const SerializedPropertyMetadata | metadata |
| The serialized property metadata. | |
| const ClassProperty *const | property |
| The meta property being reflected. | |
| Box | existingValue = {} |
| The value to perform in-place deserialization with. | |
| const bool | isInplaceSupported = false |
| Determines if the deserialization was performed inplace. | |
| const void *const | existingValueRaw = nullptr |
| The raw value of the existing value. | |
Friends | |
| class | Deserializer |
A context struct that contains information for the decoding of a property.
This object can be copied or moved anywhere.
|
inline |
Cancels the inplace construction in case the implementation cannot support it.
|
friend |
| Box CeresEngine::Deserializer::Property::existingValue = {} |
The value to perform in-place deserialization with.
If set, will point to a reference to the value already defined on the property.
Implementations can move the value if necessary.
The raw value of the existing value.
If matches what is returned in endObjectProperty, the value is assumed to have been deserialized inplace.
Determines if the deserialization was performed inplace.
| const SerializedPropertyMetadata CeresEngine::Deserializer::Property::metadata |
The serialized property metadata.
| const ClassProperty* const CeresEngine::Deserializer::Property::property |
The meta property being reflected.