Apache Qpid C++ API
Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation

qpid::framing::FieldValue Class Reference
[Qpid C++ Client API]

Value that can appear in an AMQP field table. More...

#include <FieldValue.h>

Inherited by qpid::framing::ArrayValue, qpid::framing::DoubleValue, qpid::framing::FieldTableValue, qpid::framing::FloatValue, qpid::framing::Integer64Value, qpid::framing::IntegerValue, qpid::framing::Str16Value, qpid::framing::Str8Value, qpid::framing::Struct32Value, qpid::framing::TimeValue, and qpid::framing::Unsigned64Value.

List of all members.

Public Member Functions

 FieldValue ()
void setType (uint8_t type)
uint8_t getType ()
DatagetData ()
uint32_t encodedSize () const
bool empty () const
void encode (Buffer &buffer)
void decode (Buffer &buffer)
bool operator== (const FieldValue &) const
bool operator!= (const FieldValue &v) const
void print (std::ostream &out) const
template<typename T>
bool convertsTo () const
template<typename T>
get () const

Protected Member Functions

 FieldValue (uint8_t t, Data *d)

Classes

class  Data


Detailed Description

Value that can appear in an AMQP field table.

Definition at line 60 of file FieldValue.h.


Constructor & Destructor Documentation

qpid::framing::FieldValue::FieldValue (  )  [inline]

Definition at line 81 of file FieldValue.h.

qpid::framing::FieldValue::FieldValue ( uint8_t  t,
Data d 
) [inline, protected]

Definition at line 99 of file FieldValue.h.


Member Function Documentation

bool qpid::framing::FieldValue::convertsTo< int64_t > (  )  const [inline]

Definition at line 95 of file FieldValue.h.

void qpid::framing::FieldValue::decode ( Buffer buffer  ) 

bool qpid::framing::FieldValue::empty (  )  const [inline]

Definition at line 87 of file FieldValue.h.

void qpid::framing::FieldValue::encode ( Buffer buffer  ) 

uint32_t qpid::framing::FieldValue::encodedSize (  )  const [inline]

Definition at line 86 of file FieldValue.h.

int64_t qpid::framing::FieldValue::get< int64_t > (  )  const [inline]

Definition at line 96 of file FieldValue.h.

Data& qpid::framing::FieldValue::getData (  )  [inline]

Definition at line 85 of file FieldValue.h.

uint8_t qpid::framing::FieldValue::getType (  ) 

bool qpid::framing::FieldValue::operator!= ( const FieldValue v  )  const [inline]

Definition at line 91 of file FieldValue.h.

bool qpid::framing::FieldValue::operator== ( const FieldValue  )  const

void qpid::framing::FieldValue::print ( std::ostream &  out  )  const

Referenced by qpid::framing::operator<<().

void qpid::framing::FieldValue::setType ( uint8_t  type  ) 


The documentation for this class was generated from the following file:
Qpid C++ API Reference
Generated on Tue Dec 8 15:39:48 2009 for Qpid C++ Client API by doxygen 1.4.7