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
< FieldValue
ValuePtr
typedef std::map< std::string,
ValuePtr > 
ValueMap
typedef ValueMap::iterator iterator

Public Member Functions

uint32_t size () 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
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
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
ValueMap::iterator getValues ()

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).

Definition at line 46 of file FieldTable.h.


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

Generated on Fri Sep 5 00:23:52 2008 for Qpid by  doxygen 1.5.6