Nameless Engine
|
#include <FieldSerializerManager.h>
Static Public Member Functions | |
static void | registerEngineFieldSerializers () |
static void | addFieldSerializer (std::unique_ptr< IFieldSerializer > pFieldSerializer) |
static void | addBinaryFieldSerializer (std::unique_ptr< IBinaryFieldSerializer > pBinaryFieldSerializer) |
static std::vector< IFieldSerializer * > | getFieldSerializers () |
static std::vector< IBinaryFieldSerializer * > | getBinaryFieldSerializers () |
Static Private Attributes | |
static std::pair< std::mutex, std::vector< std::unique_ptr< IFieldSerializer > > > | mtxFieldSerializers |
static std::pair< std::mutex, std::vector< std::unique_ptr< IBinaryFieldSerializer > > > | mtxBinaryFieldSerializers |
Stores all enabled field serializers.
|
static |
Adds a field serializer that will be automatically used in serialization/deserialization to support specific field types. Use getBinaryFieldSerializers to get array of added serializers.
pBinaryFieldSerializer | Field serializer to add. |
|
static |
Adds a field serializer that will be automatically used in serialization/deserialization to support specific field types. Use getFieldSerializers to get array of added serializers.
pFieldSerializer | Field serializer to add. |
|
static |
Returns available binary field serializers that will be automatically used in serialization/deserialization.
|
static |
Returns available field serializers that will be automatically used in serialization/deserialization.
|
static |
Uses addFieldSerializer to add all field serializers implemented in the engine.
|
inlinestaticprivate |
Serializers used to serialize/deserialize fields into binary files.
|
inlinestaticprivate |
Serializers used to serialize/deserialize fields.