Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
#include <FieldTable.h>
Inherited by qpid::client::QueueOptions.
Public Types | |
typedef boost::shared_ptr< FieldValue > | ValuePtr |
typedef std::map< std::string, ValuePtr > | ValueMap |
typedef ValueMap::iterator | iterator |
Public Member Functions | |
FieldTable () | |
FieldTable (const FieldTable &ft) | |
~FieldTable () | |
FieldTable & | operator= (const FieldTable &ft) |
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, const int value) |
void | setInt64 (const std::string &name, const int64_t value) |
void | setTimestamp (const std::string &name, const uint64_t value) |
void | setUInt64 (const std::string &name, const 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, const float value) |
void | setDouble (const std::string &name, const 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.
typedef ValueMap::iterator qpid::framing::FieldTable::iterator |
Definition at line 52 of file FieldTable.h.
typedef std::map<std::string, ValuePtr> qpid::framing::FieldTable::ValueMap |
Definition at line 51 of file FieldTable.h.
typedef boost::shared_ptr<FieldValue> qpid::framing::FieldTable::ValuePtr |
Definition at line 50 of file FieldTable.h.
qpid::framing::FieldTable::FieldTable | ( | ) | [inline] |
Definition at line 54 of file FieldTable.h.
qpid::framing::FieldTable::FieldTable | ( | const FieldTable & | ft | ) |
qpid::framing::FieldTable::~FieldTable | ( | ) |
ValueMap::const_iterator qpid::framing::FieldTable::begin | ( | ) | const [inline] |
Definition at line 96 of file FieldTable.h.
void qpid::framing::FieldTable::clear | ( | ) | [inline] |
Definition at line 101 of file FieldTable.h.
int qpid::framing::FieldTable::count | ( | ) | const |
void qpid::framing::FieldTable::decode | ( | Buffer & | buffer | ) |
void qpid::framing::FieldTable::encode | ( | Buffer & | buffer | ) | const |
uint32_t qpid::framing::FieldTable::encodedSize | ( | ) | const |
ValueMap::const_iterator qpid::framing::FieldTable::end | ( | ) | const [inline] |
Definition at line 97 of file FieldTable.h.
void qpid::framing::FieldTable::erase | ( | const std::string & | name | ) |
ValueMap::const_iterator qpid::framing::FieldTable::find | ( | const std::string & | s | ) | const [inline] |
Definition at line 98 of file FieldTable.h.
bool qpid::framing::FieldTable::getArray | ( | const std::string & | name, | |
Array & | value | |||
) | const |
int qpid::framing::FieldTable::getAsInt | ( | const std::string & | name | ) | const |
int64_t qpid::framing::FieldTable::getAsInt64 | ( | const std::string & | name | ) | const |
std::string qpid::framing::FieldTable::getAsString | ( | const std::string & | name | ) | const |
uint64_t qpid::framing::FieldTable::getAsUInt64 | ( | const std::string & | name | ) | const |
bool qpid::framing::FieldTable::getDouble | ( | const std::string & | name, | |
double & | value | |||
) | const |
bool qpid::framing::FieldTable::getFloat | ( | const std::string & | name, | |
float & | value | |||
) | const |
bool qpid::framing::FieldTable::getTable | ( | const std::string & | name, | |
FieldTable & | value | |||
) | const |
ValueMap::iterator qpid::framing::FieldTable::getValues | ( | ) | [inline] |
Definition at line 105 of file FieldTable.h.
std::pair<ValueMap::iterator, bool> qpid::framing::FieldTable::insert | ( | const ValueMap::value_type & | ) |
bool qpid::framing::FieldTable::isSet | ( | const std::string & | name | ) | const [inline] |
FieldTable& qpid::framing::FieldTable::operator= | ( | const FieldTable & | ft | ) |
bool qpid::framing::FieldTable::operator== | ( | const FieldTable & | other | ) | const |
void qpid::framing::FieldTable::set | ( | const std::string & | name, | |
const ValuePtr & | value | |||
) |
void qpid::framing::FieldTable::setArray | ( | const std::string & | name, | |
const Array & | value | |||
) |
void qpid::framing::FieldTable::setDouble | ( | const std::string & | name, | |
const double | value | |||
) |
void qpid::framing::FieldTable::setFloat | ( | const std::string & | name, | |
const float | value | |||
) |
void qpid::framing::FieldTable::setInt | ( | const std::string & | name, | |
const int | value | |||
) |
void qpid::framing::FieldTable::setInt64 | ( | const std::string & | name, | |
const int64_t | value | |||
) |
void qpid::framing::FieldTable::setString | ( | const std::string & | name, | |
const std::string & | value | |||
) |
void qpid::framing::FieldTable::setTable | ( | const std::string & | name, | |
const FieldTable & | value | |||
) |
void qpid::framing::FieldTable::setTimestamp | ( | const std::string & | name, | |
const uint64_t | value | |||
) |
void qpid::framing::FieldTable::setUInt64 | ( | const std::string & | name, | |
const uint64_t | value | |||
) |
std::ostream& operator<< | ( | std::ostream & | out, | |
const FieldTable & | body | |||
) | [friend] |