| Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
A simple wrapper for std::ostringstream that allows in place construction of a message and automatic conversion to string. More...
#include <qpid/Msg.h>
Public Member Functions | |
| Msg () | |
| Msg (const Msg &m) | |
| std::string | str () const |
| operator std::string () const | |
| Msg & | operator<< (long n) |
| Msg & | operator<< (unsigned long n) |
| Msg & | operator<< (bool n) |
| Msg & | operator<< (short n) |
| Msg & | operator<< (unsigned short n) |
| Msg & | operator<< (int n) |
| Msg & | operator<< (unsigned int n) |
| Msg & | operator<< (double n) |
| Msg & | operator<< (float n) |
| Msg & | operator<< (long double n) |
| template<class T > | |
| Msg & | operator<< (const T &t) |
Public Attributes | |
| std::ostringstream | os |
A simple wrapper for std::ostringstream that allows in place construction of a message and automatic conversion to string.
E.g.
Will construct the string "hello 32" and pass it to foo()
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 45 of file Msg.h.
References os.
Referenced by operator std::string(), and qpid::operator<<().
| std::ostringstream qpid::Msg::os |
Definition at line 42 of file Msg.h.
Referenced by operator<<(), and str().
1.8.5