Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation
Public Member Functions
qpid::framing::FixedWidthValue< width > Class Template Reference

#include <qpid/framing/FieldValue.h>

List of all members.

Public Member Functions

 FixedWidthValue ()
 FixedWidthValue (const uint8_t(&data)[width])
 FixedWidthValue (const uint8_t *const data)
 FixedWidthValue (uint64_t v)
uint32_t encodedSize () const
void encode (Buffer &buffer)
void decode (Buffer &buffer)
bool operator== (const Data &d) const
bool convertsToInt () const
int64_t getInt () const
uint8_trawOctets ()
uint8_trawOctets () const
void print (std::ostream &o) const
virtual bool operator== (const Data &) const =0
virtual bool convertsToString () const
virtual std::string getString () const

Detailed Description

template<int width>
class qpid::framing::FixedWidthValue< width >

Definition at line 141 of file FieldValue.h.


Constructor & Destructor Documentation

template<int width>
qpid::framing::FixedWidthValue< width >::FixedWidthValue ( ) [inline]

Definition at line 145 of file FieldValue.h.

template<int width>
qpid::framing::FixedWidthValue< width >::FixedWidthValue ( const uint8_t(&)  data[width]) [inline]

Definition at line 146 of file FieldValue.h.

template<int width>
qpid::framing::FixedWidthValue< width >::FixedWidthValue ( const uint8_t *const  data) [inline]

Definition at line 147 of file FieldValue.h.

template<int width>
qpid::framing::FixedWidthValue< width >::FixedWidthValue ( uint64_t  v) [inline]

Definition at line 151 of file FieldValue.h.


Member Function Documentation

template<int width>
bool qpid::framing::FixedWidthValue< width >::convertsToInt ( ) const [inline, virtual]

Reimplemented from qpid::framing::FieldValue::Data.

Definition at line 167 of file FieldValue.h.

virtual bool qpid::framing::FieldValue::Data::convertsToString ( ) const [inline, virtual, inherited]

Reimplemented in qpid::framing::VariableWidthValue< lenwidth >.

Definition at line 76 of file FieldValue.h.

template<int width>
void qpid::framing::FixedWidthValue< width >::decode ( Buffer buffer) [inline, virtual]

Implements qpid::framing::FieldValue::Data.

Definition at line 160 of file FieldValue.h.

References qpid::framing::Buffer::getRawData().

template<int width>
void qpid::framing::FixedWidthValue< width >::encode ( Buffer buffer) [inline, virtual]

Implements qpid::framing::FieldValue::Data.

Definition at line 159 of file FieldValue.h.

References qpid::framing::Buffer::putRawData().

template<int width>
uint32_t qpid::framing::FixedWidthValue< width >::encodedSize ( ) const [inline, virtual]

Implements qpid::framing::FieldValue::Data.

Definition at line 158 of file FieldValue.h.

template<int width>
int64_t qpid::framing::FixedWidthValue< width >::getInt ( ) const [inline, virtual]

Reimplemented from qpid::framing::FieldValue::Data.

Definition at line 168 of file FieldValue.h.

virtual std::string qpid::framing::FieldValue::Data::getString ( ) const [inline, virtual, inherited]

Reimplemented in qpid::framing::VariableWidthValue< lenwidth >.

Definition at line 78 of file FieldValue.h.

template<int width>
bool qpid::framing::FixedWidthValue< width >::operator== ( const Data &  d) const [inline]

Definition at line 161 of file FieldValue.h.

virtual bool qpid::framing::FieldValue::Data::operator== ( const Data ) const [pure virtual, inherited]
template<int width>
void qpid::framing::FixedWidthValue< width >::print ( std::ostream &  o) const [inline, virtual]

Implements qpid::framing::FieldValue::Data.

Definition at line 180 of file FieldValue.h.

template<int width>
uint8_t* qpid::framing::FixedWidthValue< width >::rawOctets ( ) const [inline]

Definition at line 178 of file FieldValue.h.

template<int width>
uint8_t* qpid::framing::FixedWidthValue< width >::rawOctets ( ) [inline]

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

Qpid C++ API Reference
Generated on Mon Aug 22 2011 for Qpid C++ Client API by doxygen 1.7.4