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

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

#include <FieldTable.h>

Inheritance diagram for qpid::framing::FieldTable:

Inheritance graph
[legend]

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


Detailed Description

A set of name-value pairs.

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

Definition at line 47 of file FieldTable.h.


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

Generated on Thu Oct 16 13:38:34 2008 for Qpid by  doxygen 1.5.6