qpid::amqp_0_10::Unit Class Reference

A Unit contains a frame header and associated value. More...

#include <Unit.h>

List of all members.

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>
Unitoperator= (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)


Detailed Description

A Unit contains a frame header and associated value.

For all types except BODY the frame header is for a complete segment.


Constructor & Destructor Documentation

template<class T>
qpid::amqp_0_10::Unit::Unit ( const T &  t,
uint8_t  flags = 0 
) [inline, explicit]

Parameters:
flags,: is ORed with the required flags for type T.


The documentation for this class was generated from the following file:

Generated on Thu May 15 22:23:06 2008 for Qpid by  doxygen 1.5.5