CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
Serialization.hpp File Reference

Go to the source code of this file.

Classes

struct  CeresEngine::SerializedObjectMetadata
 A struct that holds metadata for a serialized object. More...
 
struct  CeresEngine::SerializedPropertyMetadata
 A structure that holds metadata for a serialized property. More...
 
struct  CeresEngine::SerializedCustomObjectMetadata
 A struct that holds metadata for a serialized object. More...
 
struct  CeresEngine::SerializedArrayMetadata
 A structure that holds metadata for a serialized array. More...
 
struct  CeresEngine::SerializedMapMetadata
 A structure that holds metadata for a serialized map. More...
 
struct  CeresEngine::CustomSerializationOptions
 Specifies a set of options that specify how a custom serializer should behave. More...
 
class  CeresEngine::SerializationContext
 A context that is shared between multiple serializer and deserializer instances. More...
 
struct  CeresEngine::SerializationContext::CustomSerialization
 Holds data for custom serialization for a custom serializer/deserializer. More...
 
class  CeresEngine::SerializationState
 A base class for serializer and deserializer states. More...
 
struct  CeresEngine::SerializationStateObject< T >
 Scope object that pushes an object to the SerializationState. More...
 
class  CeresEngine::SerializationError
 

Namespaces

namespace  CeresEngine
 

Typedefs

using CeresEngine::SerializedObjectMetadataFlags = Flags< SerializedObjectMetadataFlag >
 A set of flags that determine how the object is serialized.
 
using CeresEngine::SerializedPropertyMetadataFlags = Flags< SerializedPropertyMetadataFlag >
 A set of flags that determine how the property is serialized.
 
using CeresEngine::SerializedCustomObjectMetadataFlags = Flags< SerializedCustomObjectMetadataFlag >
 A set of flags that determine how the object is serialized.
 
using CeresEngine::SerializedArrayMetadataFlags = Flags< SerializedArrayMetadataFlag >
 A set of flags that determine how the array is serialized.
 
using CeresEngine::SerializedMapMetadataFlags = Flags< SerializedMapMetadataFlag >
 A set of flags that determine how the map is serialized.
 
using CeresEngine::DeserializerConstructor = UniqueFunction< Box(const SerializationContext &context, SerializationState &state, const Type &type) const >
 A type that represents the constructor function.
 
using CeresEngine::DeserializerPropertyMigrator = UniqueFunction< Box(const SerializationContext &context, SerializationState &state, Box &object, const SerializedPropertyMetadata &property, Box &value) const >
 Represents the signature of the function that performs migration of an abandoned serialized property.
 
using CeresEngine::CustomSerializer = UniqueFunction< void(Serializer &, const Box &) const >
 A type alias to a function signature that implements a custom serializer.
 
using CeresEngine::CustomDeserializer = UniqueFunction< Box(Deserializer &, Box &&) const >
 A type alias to a function signature that implements a custom deserializer.
 

Enumerations

enum class  CeresEngine::SerializedObjectMetadataFlag : UInt32 { CeresEngine::None = 0 , CeresEngine::Polymorphic = (1u << 0u) , CeresEngine::Custom = (1u << 1u) }
 A set of flags that determine how the object is serialized. More...
 
enum class  CeresEngine::SerializedPropertyMetadataFlag : UInt32 { CeresEngine::None = 0 }
 A set of flags that determine how the property is serialized. More...
 
enum class  CeresEngine::SerializedCustomObjectMetadataFlag : UInt32 { CeresEngine::None = 0 }
 A set of flags that determine how the object is serialized. More...
 
enum class  CeresEngine::SerializedArrayMetadataFlag : UInt32 { CeresEngine::None = 0 }
 A set of flags that determine how the array is serialized. More...
 
enum class  CeresEngine::SerializedMapMetadataFlag : UInt32 { CeresEngine::None = 0 }
 A set of flags that determine how the map is serialized. More...