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

Go to the source code of this file.

Classes

class  CeresEngine::ISerializer
 The serializer is responsible from taking a C++ object and make it into stream of bytes from it. More...
 
class  CeresEngine::SerializerState
 A class that represents context for a serializer. More...
 
class  CeresEngine::Serializer
 The serializer class has basic support for reflection-based serializers. More...
 

Namespaces

namespace  CeresEngine
 

Macros

#define CE_SERIALIZER_PRIMITIVE_TYPES(F)
 
#define CE_SERIALIZER_ENCODER_PRIMITIVE_TYPE(T, N)   virtual void encode##N(T value) = 0;
 

Macro Definition Documentation

◆ CE_SERIALIZER_ENCODER_PRIMITIVE_TYPE

#define CE_SERIALIZER_ENCODER_PRIMITIVE_TYPE (   T,
 
)    virtual void encode##N(T value) = 0;

◆ CE_SERIALIZER_PRIMITIVE_TYPES

#define CE_SERIALIZER_PRIMITIVE_TYPES (   F)
Value:
F(float, Float) \
F(double, Double) \
F(UInt8, UInt8) \
F(UInt16, UInt16) \
F(UInt32, UInt32) \
F(UInt64, UInt64) \
F(Int8, Int8) \
F(Int16, Int16) \
F(Int32, Int32) \
F(Int64, Int64) \
F(bool, Boolean)