#include <FieldTable.h>
Public Types | |
typedef boost::shared_ptr < FieldValue > | ValuePtr |
typedef std::map< std::string, ValuePtr > | ValueMap |
typedef ValueMap::iterator | iterator |
Public Member Functions | |
uint32_t | encodedSize () const |
void | encode (Buffer &buffer) const |
void | decode (Buffer &buffer) |
int | count () const |
void | set (const std::string &name, const ValuePtr &value) |
ValuePtr | get (const std::string &name) const |
bool | isSet (const std::string &name) const |
void | setString (const std::string &name, const std::string &value) |
void | setInt (const std::string &name, int value) |
void | setInt64 (const std::string &name, int64_t value) |
void | setTimestamp (const std::string &name, uint64_t value) |
void | setUInt64 (const std::string &name, uint64_t value) |
void | setTable (const std::string &name, const FieldTable &value) |
void | setArray (const std::string &name, const Array &value) |
void | setFloat (const std::string &name, float value) |
void | setDouble (const std::string &name, double value) |
int | getAsInt (const std::string &name) const |
uint64_t | getAsUInt64 (const std::string &name) const |
int64_t | getAsInt64 (const std::string &name) const |
std::string | getAsString (const std::string &name) const |
bool | getTable (const std::string &name, FieldTable &value) const |
bool | getArray (const std::string &name, Array &value) const |
bool | getFloat (const std::string &name, float &value) const |
bool | getDouble (const std::string &name, double &value) const |
void | erase (const std::string &name) |
bool | operator== (const FieldTable &other) const |
ValueMap::const_iterator | begin () const |
ValueMap::const_iterator | end () const |
ValueMap::const_iterator | find (const std::string &s) const |
std::pair< ValueMap::iterator, bool > | insert (const ValueMap::value_type &) |
void | clear () |
ValueMap::iterator | getValues () |
Friends | |
std::ostream & | operator<< (std::ostream &out, const FieldTable &body) |
(See the AMQP spec for more details on AMQP field tables).
Definition at line 47 of file FieldTable.h.