Apache Qpid C++ API
Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation

qpid/Msg.h File Reference

#include <sstream>
#include <iostream>

Go to the source code of this file.

Classes

struct  qpid::Msg
 A simple wrapper for std::ostringstream that allows in place construction of a message and automatic conversion to string. More...

Namespaces

namespace  qpid

Defines

#define QUOTE_(x)   #x
 Construct a message using operator << and append (file:line).
#define QUOTE(x)   QUOTE_(x)
#define QPID_MSG(message)   (::qpid::Msg() << message << " (" __FILE__ ":" QUOTE(__LINE__) ")")

Functions

std::ostream & qpid::operator<< (std::ostream &o, const Msg &m)

Define Documentation

#define QPID_MSG ( message   )     (::qpid::Msg() << message << " (" __FILE__ ":" QUOTE(__LINE__) ")")

Definition at line 74 of file Msg.h.

#define QUOTE (  )     QUOTE_(x)

Definition at line 73 of file Msg.h.

#define QUOTE_ (  )     #x

Construct a message using operator << and append (file:line).

Definition at line 72 of file Msg.h.


Qpid C++ API Reference
Generated on Mon Jun 7 17:49:08 2010 for Qpid C++ Client API by doxygen 1.6.2-20100208