CppWAMP
C++11 client library for the WAMP protocol
wamp::BasicMsgpackEncoder< O, C > Class Template Reference

Msgpack encoder. More...

#include <cppwamp/msgpack.hpp>

Public Member Functions

 BasicMsgpackEncoder ()
 Default constructor.
 
 ~BasicMsgpackEncoder ()
 Destructor.
 
void encode (const Variant &variant, Output &output)
 Serializes from the given variant to the given output (it does not first clear the output, by design).
 

Detailed Description

template<typename O, typename C = OutputCategoryTypeOf<O>>
class wamp::BasicMsgpackEncoder< O, C >

Msgpack encoder.

This class uses jsoncons to serialize Msgpack payloads from Variant instances.

Meets the requirements of the CodecEncoder concept.

Template Parameters
OThe output type in which to encode.
CThe output category type (deduced).

The documentation for this class was generated from the following files: