qpid::amqp_0_10::PackBits Class Reference

"Encoder" that encodes a struct as a set of bit flags for all non-empty members. More...

#include <Packer.h>

List of all members.

Public Member Functions

void setBit (bool b)
uint32_t getBits ()
template<class T>
PackBitsoperator() (const T &)
 The bit is always set for non-optional values.
template<class T>
PackBitsoperator() (const boost::optional< T > &opt)
 For optional values the bit is set if the value is present.
PackBitsoperator() (Bit b)
 Bits are special optional values.


Detailed Description

"Encoder" that encodes a struct as a set of bit flags for all non-empty members.

Member Function Documentation

template<class T>
PackBits& qpid::amqp_0_10::PackBits::operator() ( const T &   )  [inline]

The bit is always set for non-optional values.

template<class T>
PackBits& qpid::amqp_0_10::PackBits::operator() ( const boost::optional< T > &  opt  )  [inline]

For optional values the bit is set if the value is present.


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

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