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

#include <qpid/framing/FieldValue.h>

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 ()
 
const 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
inlinevirtual

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

Definition at line 167 of file FieldValue.h.

virtual bool qpid::framing::FieldValue::Data::convertsToString ( ) const
inlinevirtualinherited

Reimplemented in qpid::framing::VariableWidthValue< lenwidth >, and qpid::framing::UuidData.

Definition at line 76 of file FieldValue.h.

template<int width>
void qpid::framing::FixedWidthValue< width >::decode ( Buffer buffer)
inlinevirtual

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

Definition at line 160 of file FieldValue.h.

template<int width>
void qpid::framing::FixedWidthValue< width >::encode ( Buffer buffer)
inlinevirtual

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

Definition at line 159 of file FieldValue.h.

template<int width>
uint32_t qpid::framing::FixedWidthValue< width >::encodedSize ( ) const
inlinevirtual

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

Definition at line 158 of file FieldValue.h.

template<int width>
int64_t qpid::framing::FixedWidthValue< width >::getInt ( ) const
inlinevirtual

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

Definition at line 168 of file FieldValue.h.

virtual std::string qpid::framing::FieldValue::Data::getString ( ) const
inlinevirtualinherited

Reimplemented in qpid::framing::VariableWidthValue< lenwidth >, and qpid::framing::UuidData.

Definition at line 78 of file FieldValue.h.

virtual bool qpid::framing::FieldValue::Data::operator== ( const Data ) const
pure virtualinherited
template<int width>
bool qpid::framing::FixedWidthValue< width >::operator== ( const Data &  d) const
inline

Definition at line 161 of file FieldValue.h.

template<int width>
void qpid::framing::FixedWidthValue< width >::print ( std::ostream &  o) const
inlinevirtual

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

Definition at line 180 of file FieldValue.h.

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

Definition at line 178 of file FieldValue.h.


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

Qpid C++ API Reference
Generated on Thu Dec 5 2013 for Qpid C++ Client API by doxygen 1.8.3.1