Overview Tutorial API reference Examples Build Download ZmqMessage 0.1 - 21 Oct 2011

include/ZmqTools.hpp File Reference

#include <cstdlib>
#include <ctime>
#include <string>
#include <sstream>
#include "zmqmessage/Config.hpp"
#include "zmqmessage/MetaTypes.hpp"
#include "zmqmessage/RawMessage.hpp"

Go to the source code of this file.

Namespaces

namespace  ZmqMessage

Functions

template<typename T>
void ZmqMessage::get_bin (zmq::message_t &message, T &t)
template<typename T>
ZmqMessage::get_bin (zmq::message_t &message)
template<typename T>
ZmqMessage::get (zmq::message_t &message, typename Private::EnableIf< Private::IsStr< T >::value >::type *=0)
template<typename T>
ZmqMessage::get (zmq::message_t &message, typename Private::DisableIf< Private::IsStr< T >::value >::type *=0, typename Private::DisableIf< Private::IsRaw< T >::value >::type *=0)
template<typename T>
ZmqMessage::get (zmq::message_t &message, typename Private::DisableIf< Private::IsStr< T >::value >::type *=0, typename Private::EnableIf< Private::IsRaw< T >::value >::type *=0)
template<typename T>
void ZmqMessage::get (zmq::message_t &message, T &t, typename Private::EnableIf< Private::IsStr< T >::value >::type *=0)
template<typename T>
void ZmqMessage::get (zmq::message_t &message, T &t, typename Private::DisableIf< Private::IsStr< T >::value >::type *=0, typename Private::DisableIf< Private::IsRaw< T >::value >::type *=0)
template<typename T>
void ZmqMessage::get (zmq::message_t &message, T &t, typename Private::DisableIf< Private::IsStr< T >::value >::type *=0, typename Private::EnableIf< Private::IsRaw< T >::value >::type *=0)
template<typename T>
ZmqMessage::get (zmq::message_t &message, bool binary_mode)
template<typename T>
void ZmqMessage::get (zmq::message_t &message, T &t, bool binary_mode)
RawMessage ZmqMessage::get_raw (zmq::message_t &message)
template<typename T>
ZmqMessage::get_string (zmq::message_t &message)
template<typename T>
ZmqMessage::get_string (zmq::message_t &message, size_t limit)
time_t ZmqMessage::get_time (zmq::message_t &message)
int ZmqMessage::msgcmp (zmq::message_t &message, const char *str, size_t len)
int ZmqMessage::msgcmp (zmq::message_t &message, const char *str)
template<typename T>
int ZmqMessage::msgcmp (zmq::message_t &message, const T &str, typename Private::EnableIf< Private::IsStr< T >::value >::type *=0)
void ZmqMessage::init_msg (const void *t, size_t sz, zmq::message_t &msg)
template<class T>
void ZmqMessage::init_msg (const T &t, zmq::message_t &msg, typename Private::EnableIf< Private::IsStr< T >::value >::type *=0)
template<class T>
void ZmqMessage::init_msg (const T &t, zmq::message_t &msg, typename Private::DisableIf< Private::IsStr< T >::value >::type *=0, typename Private::DisableIf< Private::IsRaw< T >::value >::type *=0)
template<class T>
void ZmqMessage::init_msg (const T &t, zmq::message_t &msg, typename Private::DisableIf< Private::IsStr< T >::value >::type *=0, typename Private::EnableIf< Private::IsRaw< T >::value >::type *=0)
void ZmqMessage::init_msg (const char *t, zmq::message_t &msg)
template<class T>
void ZmqMessage::init_msg_bin (const T &t, zmq::message_t &msg)
template<class T>
void ZmqMessage::init_msg (const T &t, zmq::message_t &msg, bool binary_mode)
void ZmqMessage::throw_zmq_exception (const zmq::error_t &e) throw (ZmqErrorType)
void ZmqMessage::recv_msg (zmq::socket_t &sock, zmq::message_t &msg, int flags=0) throw (ZmqErrorType)
bool ZmqMessage::try_recv_msg (zmq::socket_t &sock, zmq::message_t &msg, int flags=ZMQ_NOBLOCK) throw (ZmqErrorType)
void ZmqMessage::send_msg (zmq::socket_t &sock, zmq::message_t &msg, int flags) throw (ZmqErrorType)
void ZmqMessage::copy_msg (zmq::message_t &target, zmq::message_t &source) throw (ZmqErrorType)
bool ZmqMessage::has_more (zmq::socket_t &sock)
int ZmqMessage::relay_raw (zmq::socket_t &src, zmq::socket_t &dst, bool check_first_part)


Detailed Description

Copyright (c) 2010-2011 Phorm, Inc. GNU LGPL v 3.0, see http://www.gnu.org/licenses/lgpl-3.0-standalone.html
Author:
Andrey Skryabin <andrew@zmqmessage.org>, et al.

ZmqMessage 0.1 — open source software, support@zmqmessage.org