qpid::framing::FieldTable Class Reference
[Application API for an AMQP client]

A set of name-value pairs. More...

#include <FieldTable.h>

List of all members.

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)


Detailed Description

A set of name-value pairs.

(See the AMQP spec for more details on AMQP field tables).


The documentation for this class was generated from the following file:
Generated on Tue Apr 17 14:22:19 2007 for Qpid by  doxygen 1.4.7