#include <BodyHolder.h>
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 |
qpid::framing::BodyHolder::BodyHolder | ( | const InPlace & | ip, | |
typename EnableInPlace< InPlace >::type * | = 0 | |||
) | [inline] |
Construct from an in_place constructor expression.
EnableInPlace<InPlace,BodyHolder&>::type qpid::framing::BodyHolder::operator= | ( | const InPlace & | ip | ) | [inline] |
Assign from an in_place constructor expression.
DisableInPlace<T,BodyHolder&>::type qpid::framing::BodyHolder::operator= | ( | const T & | x | ) | [inline] |
Assign by copying.
void qpid::framing::BodyHolder::setMethod | ( | ClassId | c, | |
MethodId | m | |||
) |
Set to method with ClassId c, MethodId m.
AMQBody* qpid::framing::BodyHolder::get | ( | ) | [inline] |
Return body pointer or 0 if empty.
AMQMethodBody* qpid::framing::BodyHolder::getMethod | ( | ) | [inline] |
Return method pointer or 0 if not a method.