#include <FieldTable.h>
Public Types | |
typedef boost::shared_ptr< Value > | ValuePtr |
typedef std::map< std::string, ValuePtr > | ValueMap |
Public Member Functions | |
uint32_t | size () const |
int | count () const |
void | setString (const std::string &name, const std::string &value) |
void | setInt (const std::string &name, int value) |
void | setTimestamp (const std::string &name, uint64_t value) |
void | setTable (const std::string &name, const FieldTable &value) |
std::string | getString (const std::string &name) const |
int | getInt (const std::string &name) const |
uint64_t | getTimestamp (const std::string &name) const |
void | getTable (const std::string &name, FieldTable &value) const |
void | erase (const std::string &name) |
void | encode (Buffer &buffer) const |
void | decode (Buffer &buffer) |
bool | operator== (const FieldTable &other) const |
const ValueMap & | getMap () const |
ValueMap & | getMap () |
Friends | |
std::ostream & | operator<< (std::ostream &out, const FieldTable &body) |
(See the AMQP spec for more details on AMQP field tables).