Alchemy  1.0
A framework to robustly process network messages and structured data
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Namespaces | Functions
pack_message.h File Reference

The implementation to pack a Hg Message into a packed byte-buffer. More...

#include <Hg/msg_fwd.h>
#include <Hg/detail/pack_message_detail.h>
#include <Hg/detail/pack_array.h>
#include <Hg/detail/pack_nested.h>
#include <Hg/detail/pack_packed_bits.h>
#include <Hg/detail/pack_vector.h>

Go to the source code of this file.

Namespaces

namespace  Hg
 The MIT License(MIT)


 

Functions

template<typename T >
std::ostream & Hg::operator<< (std::ostream &os, const T &msg)
 Writes the values of a message into an ostream object. More...
 
template<typename MsgT , typename BufferT , typename SizeTraitT >
size_t Hg::pack_message (MsgT &msg_values, BufferT &buffer, size_t offset)
 Writes the values of a variable-sized message into a packed memory buffer. A separate instance exists to eliminate dynamic size tests from messages that are completely fixed in size. More...
 
template<typename MsgT , typename BufferT , typename SizeTraitT >
BufferT & Hg::pack_message (MsgT &msg_values, size_t size, BufferT &buffer)
 Writes the values of a message into a packed memory buffer. More...
 
template<typename MsgT , typename BufferT , typename SizeTraitT >
bool Hg::pack_message (MsgT &msg_values, BufferT &fixed_buffer)
 Writes the values of a message into a packed memory buffer. More...
 

Detailed Description

The implementation to pack a Hg Message into a packed byte-buffer.

The MIT License(MIT)

Definition in file pack_message.h.