DelegateMQ
Loading...
Searching...
No Matches
Serializer.h File Reference
#include "delegate/ISerializer.h"
#include "rapidjson/document.h"
#include "rapidjson/prettywriter.h"
#include <iostream>

Go to the source code of this file.

Classes

class  Serializer< RetType(Args...)>
 

Functions

template<typename Arg1 , typename... Args>
void make_serialized (rapidjson::PrettyWriter< rapidjson::StringBuffer > &writer, std::ostream &os, Arg1 &arg1, Args... args)
 
template<typename... Ts>
void make_unserialized (rapidjson::Document &doc, std::istream &is)
 
template<typename Arg1 , typename... Args>
void make_unserialized (rapidjson::Document &doc, std::istream &is, Arg1 &arg1, Args &&... args)
 

Detailed Description

See also
https://github.com/endurodave/DelegateMQ David Lafreniere, 2025.

Serialize callable argument data using RapidJSON for transport to a remote. Endinaness correctly handled by serialize class.

Function Documentation

◆ make_serialized()

template<typename Arg1 , typename... Args>
void make_serialized ( rapidjson::PrettyWriter< rapidjson::StringBuffer > & writer,
std::ostream & os,
Arg1 & arg1,
Args... args )

◆ make_unserialized() [1/2]

template<typename... Ts>
void make_unserialized ( rapidjson::Document & doc,
std::istream & is )

◆ make_unserialized() [2/2]

template<typename Arg1 , typename... Args>
void make_unserialized ( rapidjson::Document & doc,
std::istream & is,
Arg1 & arg1,
Args &&... args )