OpenEnroth da9191a
Loading...
Searching...
No Matches
Namespaces | Functions
PackSerialization.h File Reference
#include <cstddef>
#include <utility>
#include "Utility/Streams/OutputStream.h"
#include "Utility/Streams/InputStream.h"
#include "BinaryTags.h"

Namespaces

namespace  detail
 

Functions

template<class T , class... Tags, size_t... Indices>
void detail::serializePack (const T &src, OutputStream *dst, const TagPack< Tags... > &pack, std::index_sequence< Indices... >)
 
template<class T , class... Tags, size_t... Indices>
void detail::deserializePack (InputStream &src, T *dst, const TagPack< Tags... > &pack, std::index_sequence< Indices... >)
 
template<class T , class... Tags>
void serialize (const T &src, OutputStream *dst, const TagPack< Tags... > &pack)
 
template<class T , class... Tags>
void deserialize (InputStream &src, T *dst, const TagPack< Tags... > &pack)
 

Function Documentation

◆ deserialize()

template<class T , class... Tags>
void deserialize ( InputStream src,
T *  dst,
const TagPack< Tags... > &  pack 
)

◆ serialize()

template<class T , class... Tags>
void serialize ( const T &  src,
OutputStream dst,
const TagPack< Tags... > &  pack 
)