#include <Unit.h>
Public Member Functions | |
Unit (const FrameHeader &h=FrameHeader()) | |
template<class T> | |
Unit (const T &t, uint8_t flags=0) | |
void | setHeader (FrameHeader &h) |
const FrameHeader & | getHeader () const |
template<class T> | |
const T * | get () const |
template<class T> | |
T * | get () |
template<class T> | |
Unit & | operator= (const T &t) |
template<class V> | |
V::result_type | applyVisitor (V &v) const |
template<class S> | |
void | serialize (S &s) |
template<class S> | |
void | encode (S &) const |
template<class S> | |
void | decode (S &) |
Friends | |
std::ostream & | operator<< (std::ostream &o, const Unit &u) |
For all types except BODY the frame header is for a complete segment.
qpid::amqp_0_10::Unit::Unit | ( | const T & | t, | |
uint8_t | flags = 0 | |||
) | [inline, explicit] |
flags,: | is ORed with the required flags for type T. |