Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation
Classes | Namespaces | Defines | Functions
qpid/Msg.h File Reference
#include <sstream>
#include <iostream>
#include "qpid/types/ImportExport.h"

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::ostreamqpid::operator<< (std::ostream &o, const Msg &m)

Define Documentation

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

Definition at line 75 of file Msg.h.

#define QUOTE (   x)    QUOTE_(x)

Definition at line 74 of file Msg.h.

#define QUOTE_ (   x)    #x

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

Definition at line 73 of file Msg.h.


Qpid C++ API Reference
Generated on Thu Aug 23 2012 for Qpid C++ Client API by doxygen 1.7.5