qpid::framing::BodyHolder Class Reference

Holder for arbitrary frame body. More...

#include <BodyHolder.h>

Inheritance diagram for qpid::framing::BodyHolder:

Inheritance graph
[legend]
Collaboration diagram for qpid::framing::BodyHolder:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BodyHolder (const AMQBody &b)
 BodyHolder (ClassId c, MethodId m)
template<class InPlace>
 BodyHolder (const InPlace &ip, typename EnableInPlace< InPlace >::type *=0)
 Construct from an in_place constructor expression.
void setBody (const AMQBody &b)
template<class InPlace>
EnableInPlace< InPlace, BodyHolder
& >::type 
operator= (const InPlace &ip)
 Assign from an in_place constructor expression.
template<class T>
DisableInPlace< T, BodyHolder
& >::type 
operator= (const T &x)
 Assign by copying.
void setMethod (ClassId c, MethodId m)
 Set to method with ClassId c, MethodId m.
void encode (Buffer &) const
void decode (uint8_t frameType, Buffer &, uint32_t=0)
uint32_t size () const
AMQBody * get ()
 Return body pointer or 0 if empty.
const AMQBody * get () const
AMQMethodBody * getMethod ()
 Return method pointer or 0 if not a method.
const AMQMethodBody * getMethod () const

Detailed Description

Holder for arbitrary frame body.


The documentation for this class was generated from the following file:
Generated on Thu Apr 10 11:09:06 2008 for Qpid by  doxygen 1.4.7