Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
#include <qpid/framing/Array.h>
Public Types | |
typedef boost::shared_ptr < FieldValue > | ValuePtr |
typedef std::vector< ValuePtr > | ValueVector |
typedef ValueVector::const_iterator | const_iterator |
typedef ValueVector::iterator | iterator |
Public Member Functions | |
uint32_t | encodedSize () const |
void | encode (Buffer &buffer) const |
void | decode (Buffer &buffer) |
int | count () const |
bool | operator== (const Array &other) const |
Array () | |
Array (TypeCode type) | |
Array (uint8_t type) | |
Array (const std::vector< std::string > &in) | |
TypeCode | getType () const |
const_iterator | begin () const |
const_iterator | end () const |
iterator | begin () |
iterator | end () |
ValuePtr | front () const |
ValuePtr | back () const |
size_t | size () const |
void | insert (iterator i, ValuePtr value) |
void | erase (iterator i) |
void | push_back (ValuePtr value) |
void | pop_back () |
void | add (ValuePtr value) |
template<class T > | |
void | collect (std::vector< T > &out) const |
Friends | |
std::ostream & | operator<< (std::ostream &out, const Array &body) |
typedef ValueVector::const_iterator qpid::framing::Array::const_iterator |
typedef ValueVector::iterator qpid::framing::Array::iterator |
typedef boost::shared_ptr<FieldValue> qpid::framing::Array::ValuePtr |
typedef std::vector<ValuePtr> qpid::framing::Array::ValueVector |
qpid::framing::Array::Array | ( | TypeCode | type | ) |
qpid::framing::Array::Array | ( | uint8_t | type | ) |
qpid::framing::Array::Array | ( | const std::vector< std::string > & | in | ) |
void qpid::framing::Array::add | ( | ValuePtr | value | ) | [inline] |
Definition at line 76 of file Array.h.
References push_back().
ValuePtr qpid::framing::Array::back | ( | ) | const [inline] |
const_iterator qpid::framing::Array::begin | ( | ) | const [inline] |
iterator qpid::framing::Array::begin | ( | ) | [inline] |
void qpid::framing::Array::collect | ( | std::vector< T > & | out | ) | const [inline] |
int qpid::framing::Array::count | ( | ) | const |
void qpid::framing::Array::decode | ( | Buffer & | buffer | ) |
void qpid::framing::Array::encode | ( | Buffer & | buffer | ) | const |
uint32_t qpid::framing::Array::encodedSize | ( | ) | const |
const_iterator qpid::framing::Array::end | ( | ) | const [inline] |
Definition at line 62 of file Array.h.
Referenced by push_back().
iterator qpid::framing::Array::end | ( | ) | [inline] |
void qpid::framing::Array::erase | ( | iterator | i | ) | [inline] |
ValuePtr qpid::framing::Array::front | ( | ) | const [inline] |
TypeCode qpid::framing::Array::getType | ( | ) | const [inline] |
void qpid::framing::Array::insert | ( | iterator | i, |
ValuePtr | value | ||
) |
bool qpid::framing::Array::operator== | ( | const Array & | other | ) | const |
void qpid::framing::Array::pop_back | ( | ) | [inline] |
void qpid::framing::Array::push_back | ( | ValuePtr | value | ) | [inline] |
size_t qpid::framing::Array::size | ( | ) | const [inline] |
std::ostream& operator<< | ( | std::ostream & | out, |
const Array & | body | ||
) | [friend] |