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> |
PackBits & | operator() (const T &) |
| The bit is always set for non-optional values.
|
template<class T> |
PackBits & | operator() (const boost::optional< T > &opt) |
| For optional values the bit is set if the value is present.
|
PackBits & | operator() (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.
Definition at line 60 of file Packer.h.
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.
Definition at line 69 of file Packer.h.
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.
Definition at line 72 of file Packer.h.
The documentation for this class was generated from the following file:
- /home/nsantos/projects/mrg-team/testing/magnum/f10/qpidc/qpid/cpp/src/qpid/amqp_0_10/Packer.h