CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::Deserializer::Property Struct Referencefinal

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
 

Detailed Description

A context struct that contains information for the decoding of a property.

This object can be copied or moved anywhere.

Member Function Documentation

◆ cancelInplace()

void CeresEngine::Deserializer::Property::cancelInplace ( )
inline

Cancels the inplace construction in case the implementation cannot support it.

Friends And Related Symbol Documentation

◆ Deserializer

Member Data Documentation

◆ existingValue

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.

◆ existingValueRaw

const void* const CeresEngine::Deserializer::Property::existingValueRaw = nullptr

The raw value of the existing value.

If matches what is returned in endObjectProperty, the value is assumed to have been deserialized inplace.

◆ isInplaceSupported

const bool CeresEngine::Deserializer::Property::isInplaceSupported = false

Determines if the deserialization was performed inplace.

◆ metadata

const SerializedPropertyMetadata CeresEngine::Deserializer::Property::metadata

The serialized property metadata.

◆ property

const ClassProperty* const CeresEngine::Deserializer::Property::property

The meta property being reflected.


The documentation for this struct was generated from the following file: