SPH
Classes | Namespaces | Typedefs
Serializer.h File Reference

Data serialization and deserialization. More...

#include "io/Path.h"
#include "objects/containers/Array.h"
#include "objects/wrappers/Optional.h"
#include "system/Settings.h"
#include <fstream>

Go to the source code of this file.

Classes

struct  Detail::SerializedType< Precise, T, std::enable_if_t< std::is_integral< T >::value||std::is_enum< T >::value > >
 
struct  Detail::SerializedType< Precise, T, std::enable_if_t< std::is_floating_point< T >::value > >
 
struct  Detail::SerializedType< Precise, char[N]>
 
class  Serializer< Precise >
 Object providing serialization of primitives into a stream. More...
 
class  SerializerException
 Exception thrown by Deserializer on failure. More...
 
class  Deserializer< Precise >
 Object for reading serialized primitives from input stream. More...
 

Namespaces

 Detail
 

Typedefs

template<bool Precise, typename T >
using Detail::Serialized = typename SerializedType< Precise, T >::Type
 

Detailed Description

Data serialization and deserialization.

Author
Pavel Sevecek (sevecek at sirrah.troja.mff.cuni.cz)
Date
2016-2021

Definition in file Serializer.h.